Answer
$p=7$.
Work Step by Step
The given equation is
$\Rightarrow 5p-9=2p+12$
Add $-2p+9$ to both sides.
$\Rightarrow 5p-9-2p+9=2p+12-2p+9$
Simplify.
$\Rightarrow 3p=21$
Divide both sides by $3$.
$\Rightarrow \frac{3p}{3}=\frac{21}{3}$
Simplify.
$\Rightarrow p=7$.
Check:-
$\Rightarrow 5(7)-9=2(7)+12$
$\Rightarrow 35-9=14+12$
$\Rightarrow 26=26$
True.
Hence, the solution is $p=7$.