My teacher told me to do this for homework, and taught some students on how to solve it by equation but did not teach me.

Check whether the given points is or is not the point of intersection for the lines.

(6,16)

y= 3x-2

y= 5x -12

All I remember from the teacher teaching my friend was.

3x-2=5x-12

3x-5x=-12+2

-2x=10

--- ---

-2 -2

x= -5

What do I do with the -5? 0.0