A football team scored a total of 45 points in one game. They scored 14 times.
The scoring was made up of touchdowns (6 points each), PATs (1 points each), and field goals (3 points each). They scored the same number of touchdowns as PATs.
How many field goals did they score in the game? Type in your answer as a number only.