25=5^3x-1

25 = 5^3x-1

You need to use parentheses.
Is it,
5^(3x - 1) ?

Or,
5^(3)x - 1 ?

Or, ?