Given:
The line is perpendicular to x =-5.
and passing through the point ( 1, -2).
The line x= -5 is parallel to y- axis and any line parallel to y-axis has undefined slope.
So, the line perpendicular to the line x=-5 will be 0.
The slope point form of equation of line is,

Hence, the equation of line perpendicular to x=-5 and passing through point (1,-2) is y=-2.