The general equation is that for every red tile, there must be 12 blue ones.
Algebraically this is expressed as b = 12r where r is red and b is blue. Your teacher might like you to express it as y = 12x where y is blue and x is red. The meaning is the same.
For beginners it might be easier to say b = 12r. So if you have 15 reds then r = 15