$$ \begin{aligned} -8q\cdot3-8q\cdot2+5q-6-5q\cdot2+7q-3 &= 0&& \text{simplify left side} \\[1 em]-24q-16q+5q-6-10q+7q-3 &= 0&& \\[1 em]-38q-9 &= 0&& \text{ move the constants to the right } \\[1 em]-38q &= 9&& \text{ divide both sides by $ -38 $ } \\[1 em]q &= -\frac{9}{38}&& \\[1 em] \end{aligned} $$
This page was created using
Polynomial Equations Solver