This is an interesting take on ratios. For every 11 blue, there are 9 red, so the number of red in camparison to y blue is 9y/11.
Let's check.
If there are 22 blue, 9(22)/11 = 18 red. If we did the work the way you were taught, we'd get 18.
Your answer is 9y/11