Use logarithms to solve the equation.
5x+2=72x2\displaystyle {5}^{{{x}+{2}}}={7}^{{{2}{x}-{2}}}

x=\displaystyle {x}=