We know that we are solving for y.
This is a step by step procedure to get the value of y.
First: Move all terms to the left side and set equal to zero.
Second: Then set each factor equal to zero.
The application is:
Given: py+7=6y+q
-6y -7 -6y -7 = 0
(p-6)y = q-7
divide both sides by p-6
y=(q-7)/(p-6)
Answer is y = (q – 7) / (p – 6)