The slope=4
hope this helps!!
Answer:

Step-by-step explanation:
we know that
The Pythagorean Theorem states that in a right triangle

where
c is the greater side (the hypotenuse)
a and b are the legs
In this problem
Let
c=AB ---> distance from point A to point B
a ---> the difference of the x-coordinates both points
b ---> the difference of the y-coordinates both points
so

substitute




Slopes of perpendicular lines are opposite reciprocals of each other. The slope of the given equation (which is in slope-intercept form) is 1, the invisible coefficient of x. The opposite reciprocal of 1 is -1, thus the slope of a line perpendicular to the line y = x + 4 is -1.
Hope this helps.