So only 1 person won the first prize.
So there are x people in the second prize and y people in the third prize.
Then it is 6+3x+2y=22.
9+4x+y=22
The solution is x=2 y=5.
So the first prize 1 person, the second prize 2 people, the third prize 3 people.