$$ \begin{aligned} p\cdot2-31p+108 &= 0&& \text{simplify left side} \\[1 em]p\cdot2-31p+108 &= 0&& \\[1 em]-29p+108 &= 0&& \text{ move the constants to the right } \\[1 em]-29p &= -108&& \text{ divide both sides by $ -29 $ } \\[1 em]p &= \frac{-108}{-29}&& \\[1 em]p &= \frac{108}{29}&& \\[1 em] \end{aligned} $$
This page was created using
Polynomial Equations Solver