To find this out, set it up for cross multiplication. The percentage of vanilla is 22%, so you can put that over 100% and multiply it by x/50 (the number of people).
22%/100% x x/50
100x = 22 x 50
100x = 1100
/100
x= 11
So you have 11 people who prefer vanilla!