n^12/n^9 = 125
Let's use our product rules first!
nnnnnnnnnnnn/nnnnnnnnn
We can cancel out nine of those and we're left with:
n^3 = 125.
We should expand that....
nnn = 125.
What times itself three times is 125? Oh! That would be the cubed root! Let's find it.
444 = 64, so that's not it.
How about 666? Nope, that's 216.
Hmm... 555? Yes! That's it.
That means we're left with n=5. Let's plug it back in, just to check.
5^12/5^9 = 125
5^3 = 125
55*5 = 125
That's correct, so your answer would be that the number is 5.