Hi Maya C
Since, you did not use parentheses, if you meant to write the following:
25(4 - x) = 125(3x +1)
You need to find a common base, since
25 = 52
125 = 53
So you have
52(4-x) = 53(3x +1)
Then you can solve for x and check
2(4 -x) = 3(3x + 1)
8 - 2x = 9x + 3
8 - 3 = 9x +2x
5 = 11x
5/11 = x
Checking
2539/11 = 12526/11 = 90434.21186
Hope this helps