F1 Generation Results:
 
987 wild type flies

You then cross two of the F1 offspring to get the following F2 Generation Results:
 
787 wild type flies
277 mutant flies with yellow bodies