find the equation of the line with the given information

passes through (2,-5) and perpendicular to x=4

Since the line is perpendicular to x=4, we know that the line is vertical and that its equation will be x = a, where a is the x-coordinate of any point on the line.

Since the line passes through the point (2,-5), the x-coordinate of this point will be the same as the x-coordinate of any other point on the line. Therefore, a = 2.

The equation of the line is x = 2.