Can somone help me find the orthcenter for the triangle with the given vertices M(-4,-2),N(6,-2) and P(-2,10)?

I don't understand the steps you need to take to geth the answer which I know is (-2,-2/3) may somone please help me with the work?

?2018-01-08T00:07:15Z

The line passing through P and perpendicular to MN is (6--4)x + (-2--2)y = (6--4)(-2) + (-2--2)10, which simplifies to x = -2.
The line passing through N and perpendicular to PM is (-2--4)x + (10--2)y = (-2--4)6 + (10--2)(-2), which simplifies to x + 6y = -6.
The orthocentre is the intersection of these two lines, which is (-2, -⅔)