Answer
$x=40$
Work Step by Step
$8=\frac{x}{5}$
$8\times5=\frac{x}{5}\times5$
$40=x$
$x=40$ (generally when specifying the value of a variable, the variable is written on the left hand side of the equals sign, and the value of the variable is written on the right hand side of the equals sign