A football team scored a total of 37 points in a game. The team scored some field goals worth 3 points each and some touchdowns with extra points, each together worth 7 points. The team made 19 more points in touch downs with extra points than in field goals. How many field goals and how many touchdowns with extra points did the team score.