# How do you find the unknown value of ptimes8=40?

$p = 5$
$p \times 8 = 40$
divide both sides by $8$
$\implies \frac{p \times \cancel{8}}{\cancel{8}} = \frac{40}{8}$
$\implies p = 5$