Since x is being multiplied by 25, you have to divide (the inverse of multiplication) to get rid of the 25 that's multiplied.
(12) / 25 = (x * 25) / 25
If you divide by 25 on one side, you have to divide the other side by the same number to keep it equivalent.
So, 12/25 = x