Move the variable (3p) to the left-hand side and change its sign.
3p+16=40
then move the constant (16) to the right hand side and change its sign
3p=40-16
subtract the numbers (40-16)
3p= 24
Divide both sides of the equation by 3
3p= 24
————
3
P=8 *this is your answer*
hope this helps :)