How to find out the number of gametes in this type of question?

computer