Answer
$5x-40=8+x$
$x=12$
Work Step by Step
The term preceding "subtracted from" is the subtrahend. "Times" indicates multiplication. "More than" indicates addition.
$5x-40=8+x$ $\longrightarrow$addition property
$5x-40+40-x=8+x+40-x$ $\longrightarrow$simplify
$4x\div4=48\div4$ $\longrightarrow$multiplication property
$4x=48$ $\longrightarrow$simplify
$x=12$