A player scored 107 points in a single professional basketball game. he made a total of 68 baskets, consisting of field goals (worth two points) and foul shots (worth one point). find the number of field goals and the number of foul shots that the player made.
If all were foul shots, his score would have been 68. It is 39 more than that, so there must have been 39 field goals (each worth an additional point). Then the number of foul shots was 68-39 = 29.