When picking a ball from the blue urn, the possible outcomes are
[tex]B=\lbrace B1,B2,B3,B4\rbrace[/tex]
Similarly, in the case of the other urn,
[tex]G=\lbrace G1,G2,G3,G4,G5\rbrace[/tex]
Therefore, the sample space of the experiment that consists of selecting one ball from each urn is
[tex]\Rightarrow S=\lbrace(B1,G1),(B1,G2),...,(B1,G5),(B2,G1),...,(B4,G4),(B4,G5)\rbrace\rightarrow20\text{ elements in total}[/tex]
The answer to part a) is set S shown above.
b)
If the number on the blue ball is even, any ordered pair whose first coordinate is B2 or B4 is within set E. On the other hand,
[tex]\begin{gathered} 1+4=5 \\ 4+1=5\rightarrow\text{ already counted when Blue is even} \\ 2+3=5\rightarrow\text{ already counted when BLUE is even} \\ 3+2=5 \end{gathered}[/tex]
Then, set E is
[tex]\Rightarrow E={}\lbrace(B1,G4),(B2,G1),(B2,G2),(B2,G3),(B2,G4),(B2,G5),(B3,G2),(B4,G1),(B4,G2),(B4,G3),(B4,G4),(B4,G5)\rbrace\rightarrow12\text{ elements}[/tex]
As for set F,
When the number of the green ball is even G2 or G4. Then, if additionally, the sum of the two balls is 5,
[tex]\begin{gathered} 1+4=5\rightarrow Green\text{ is ven} \\ 2+3=5 \\ 3+2=5\rightarrow\text{ green is even} \\ 4+1=5 \end{gathered}[/tex]
Therefore, out of the 10 outcomes in which G2 or G4, only 2 of them satisfy the second condition (sum equal to 5). Thus, set F is
[tex]F=\lbrace(B1,G4),(B3,G2)\rbrace\rightarrow\text{ 2 elements}[/tex]
c) Finally, the corresponding probabilities of E and F are
[tex]\begin{gathered} P(E)=\frac{12}{20}=\frac{3}{5} \\ P(F)=\frac{2}{20}=\frac{1}{10} \end{gathered}[/tex]
The probability of E is 3/5 and the probability of F is 1/10