12:15 = x:5
Cross multiply:
(12 * 5) = (15 * x)
Simplify:
60 = 15x
Divide both sides by 15:
x = 60/15
x = 4