Elementary Technical Mathematics

$y=-x+2$
The point-slope form of a line is given as: $$y-y_1=m(x-x_1)$$ We plug in the given point and slope and solve for $y$: $$y+10=-(x-12)\Longrightarrow y=-x+12-10=-x+2 .$$