Given the equation:
$$\frac{12}{x - 15} = \frac{15}{x - 12}$$
Use proportions rule:
From a1/b1 = a2/b2 should a1*b2 = a2*b1,
In this case
a1 = 12
b1 = -15 + x
a2 = 15
b2 = -12 + x
so we get the equation
$$12 \left(x - 12\right) = 15 \left(x - 15\right)$$
$$12 x - 144 = 15 x - 225$$
Move free summands (without x)
from left part to right part, we given:
$$12 x = 15 x - 81$$
Move the summands with the unknown x
from the right part to the left part:
$$\left(-3\right) x = -81$$
Divide both parts of the equation by -3
x = -81 / (-3)
We get the answer: x = 27