Can anyone help me out on this equation, i am doing exponents and logarithms, and can't seem to understand this, i get that you are supposed to make the base the same and then solve for x using the exponents, but how do you make the base the same in this function.

$\displaystyle 7 ^3x+1=5^x$

The 3x+1 is actually the exponent