Add qx to both sides px^{2}px2q=qx^{2}qx Subtract 2q from both sides px^{2}px=qx^{2}qx2q Combine all terms containing p \left(x^{2}x\right)p=qx^{2}qx2q Divide both sides by x^{2}x \frac{\left(x^{2}x\right)p}{x^{2}x}=\frac{q\left(x1\right)\left(x2\right)}{x^{2}x}