Answer
$x=32$
Work Step by Step
Use the definition of the log function to solve for $x$. Rewrite the problem so that the base has the exponent of the opposite side and is equal to the log's number and/or variable.
$\log_5(x-7)=2$
$5^2=x-7$
$5^2+7=x$
$x=32$