The slope of a line perpendicular to another is the negative reciprocal of the original. The negative reciprocal of -1 is 1. The equation will read:
y=x+b
To solve for the y-intercept (b), plug in the given values of x and y:
4=-2+b
*Add 2 to both sides*
D. 6
Hope this helps!!