For the
seventh grade class:
p(boy) = 5/(5+7)=5/12
For the eighth
grade class:
p(boy) = 9/(9+3)=9/12
The probability that the students teacher selects are both boys = 5/12 * 9/12 = 5/16 = 0.3125
I hope that
helps!
I am with you if you faced any difficulties!