The points you've provided both have the same x-coordinate of -5, which means they lie on a vertical line. The equation for a vertical line with an x-coordinate of -5 is simply:
x = -5
So, the equation for the line passing through the points (-5, 4) and (-5, 1) is x = -5.