If it's not what You are looking for type in the equation solver your own equation and let us solve it.
Solution for q+18q-18q-3q+q+-10=-9 equation:
We move all terms to the left:
We add all the numbers together, and all the variables
We move all terms containing q to the left, all other terms to the right