If x to the 12th power is divided by x to the 9th power:
Since they share same bases, and are being divided, it would be the same as x^{12 - 9), or x^{3}
Now, simply find the cube root of 125, which is 5.
Therefore, the number (x) must be equal to 5.
Hope this helps! :)