Answer:
12
Step-by-step explanation:
The formula for distance between points is 
So when you inserts the coordinates in this formula, it would be 



=12.08305
Usually, distance is round to whole number. So, it would be 12
So,
Since you can only take two one-credit courses every six months, you can earn 2 credits every six months, and 4 credits in one year. Multiplying that by 3, you get 12 credits in 3 years.
It will take 3 years to get the degree.
The best way to solve this is by giving a visual idea of the glass ornaments. so We will have letter G represent Green, O for Orange, B for Brown, P for Purple.
Sample 1:G,O,B,P
Sample 2:G,P,O,B
Sample 3:P,G,O,B
Sample 4:O,G,P,B
Sample 5:G,O,P,B
This is what you can do this should be the right amount of ways to arrange them.