Final answer:
The equation for the vertical line is x=-2 and the equation for the horizontal line is y=5.
Step-by-step explanation:
To write an equation for a vertical line through the point (-2,5), we use the equation x=c, where c is the x-coordinate of the point. Therefore, the equation for the vertical line is x=-2.
To write an equation for a horizontal line through the point (-2,5), we use the equation y=c, where c is the y-coordinate of the point. Therefore, the equation for the horizontal line is y=5.