Answer:
y = 7
Step-by-step explanation:
The straight line which is perpendicular to the y-axis will be either x-axis or parallel to the x-axis.
Now, the general equation for all straight line which is either x-axis or parallel to x-axis are given by y = c ........... (1), where c is any constant.
For c = 0 the line will be x -axis. therefore, y = 0, is the equation of x-axis.
Now, if the line (1) passes through the point (-2, 7), then the equation will be y = 7. (Answer)
{Since, the point (-2,7) will satisfy the equation (1) and then c will be equal to 7.}