If you are given:How does y+2=0 rearrange to y=-2?

and you want to solve for , then since 2 is being added to , we may isolate by subtracting 2 from both sides:

You are given the points:And how do you find a perpendicular line (with a given coordinate)?

The perpendicular slope is found by:

We now have the slope of the line and the point it passes through, so using the point-slope formula, we find the equation of the line is: