In a football game, Team A defeated Team B by a score of 31 to 14. The total points scored came from a combination of touchdowns, extra-point kicks, and field goals, worth 6, 1, and 3
points, respectively. The numbers of touchdowns and extra-point kicks were equal. There were six times as many touchdowns as field goals. Find the number of touchdowns, extra-point
kicks, and field goals scored.