Answer:
(a) S= {red, white, blue, green, yellow, violet}
(b) 
(c) E(Y) = 4.67
Step-by-step explanation:
(a) The sample space 'S' is:
S= {red, white, blue, green, yellow, violet}
(b) Since all three values are assigned to two different colors, there is a 2 in 6 chance that each value will be assigned, the distribution of this random variable is:

(c) The expected value of Y is:
![E(Y) = \frac{1}{3}*[(0+1)^2]+ \frac{1}{3}*[(1+1)^2]+\frac{1}{3}*[(2+1)^2]\\E(Y) = 4.67](https://tex.z-dn.net/?f=E%28Y%29%20%3D%20%5Cfrac%7B1%7D%7B3%7D%2A%5B%280%2B1%29%5E2%5D%2B%20%5Cfrac%7B1%7D%7B3%7D%2A%5B%281%2B1%29%5E2%5D%2B%5Cfrac%7B1%7D%7B3%7D%2A%5B%282%2B1%29%5E2%5D%5C%5CE%28Y%29%20%3D%204.67)