Answer: 15
Explanation:
First step is to find the slope of the line given
y = -x - 2
y = mx + c where m is the slope of the line so the slope of the line is -1
If 2 lines are perpendicular to one another, the product of the slopes is -1 so the slope of the perpendicular line is -1/-1 = 1
y = 1x + c or y = x + c
As the line passes through the coordinate (-5,10), we can substitute the x and y value of the coordinates into the equation
10 = -5 + c
c = 15
So the equation of the line is y = x + 15