X=4. First, you do 15/12 and get 1.25. You do this to see what number you have to multiply 12 to, to get 15. Since the sides a proportional it should be the same for the sides with their variables. Then you create an expression that puts the numbers the same place where 15 and 12 were to equal 1.25. You cross multiply, solve and get 4.