This is because the equation can be written out like this Blue to red - 3:2 Now it is, blue to red - 12:x
We have to think, what is the difference from the first equation to the second. We know the number 3 times 4 = 12, so we would do the same for the red, 2 times 4=8