As we know the formula to calculate the line of equation is y - y1 = m (x - x1)
Where m is the slope. y1 is the first y co ordinate. x1 is the first x co ordinate.
Now we do know that the slope of perpendicular line is the negative reciprocal of the slope of the original line.
So perpendiculars line slope is 5 so slope for our line is -1/5. Hence equation is y - 2 = -1/5(x + 5) and can now easily be solved.