A game has two way of scoring goals. One type of goal is worth 4 points and the other is worth 7 points. In one game 10 goals were scored generating 52 points. How many 7 point goals were scored?