Maybe you mean
8^(2x - 5) = 5^(x + 1).
If you do mean that, you must NOT write it without the parentheses, as that means something completely different.
(2x - 5)*log(8) = (x+1)*log(5) =>
(2x - 5)(0.903) = (x+1)(0.699) =>
1.806 x - 4.515 = 0.699 x + 0.699 =>
1.107 x = 5.214 =>
x = about 4.7 but use a calculator.