Perpendicular line means the gradient will be negative reciprocal. The gradient of the line that is given is -1.
Therefore the gradient of the perpendicular line is -1 / -1 = 1
Now we know the equation is y=x+c
We want to find out what c is.
To do this, we substitute in the coordinates given:
4 = 1(-2) + c
4 = -2 + c
C= 6
Therefore the perpendicular line equation is:
y = x + 6
I hope this has helped you today,
Any questions please ask me in the comments below.
Have a great day!