The equation of the given line is y =5
This means that the given line is parallel to the x axis. Imagine a horizontal line and for all values of x, the y value is constant 5. So the line perpendicular to this line would be one that is parallel to the Y axis. Imagine a vertical line. This line would have the same x value for all values of Y. Equation would be of the form
x = constant.
It is given that the line passes through (-7, -5), from which we get that constant value as -7.
Equation of the perpendicular line is x = -7