A basketball player hit the basket eighteentimes during the game. He scored a totalof 30 points, two points for each field goaland one point for each free throw. If hethrew 6 more field goals than free throws,how many field goals did he make? Howmany free throws did he make?