On the weekend, I went to play in the park. It was real fun! I rode my new bicycle that my mother had gifted me on my birthday.

On reaching the park, I saw that there were a total of 9 bicycles and tricycles. If the total number of wheels was 22, how many tricycles were there?

MATHEMATICAL LOGIC please explain