Find the equations of the tangents to the given curve that pass through the point (12, 10).

x= 6t^2 + 6

y= 4t^3 + 6

I'm following some example but I get confused after

The answers are:

and

I understand that m=1 and that makes x-2. But I dont understand is that at one point it looks like m = -2 which is seen in -2x+34 but I dont see how they got m = -2 can someone explain this please.