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.