You can divide them or simply subtract depending on the objects. If more information was provided I could give you a better answer.
The last four linesof the poem reveals the solution in the poem as the first reveals the problem
3y = 2x - 6
y = 2/3x - 2
y = 2/3x + c , ( - 2, 5 )
5 = 2/3 ( -2 ) + c
3c = - 6
c = - 2
y = 2/3x - 2
i am a mathematics teacher. if anything to ask please pm me