Final answer:
The equation of the line is y = -2.
Step-by-step explanation:
The equation of a line in slope-intercept form is given by y = mx + b, where m is the slope and b is the y-intercept. Since the line is perpendicular to the line x = 0, which is a vertical line with an undefined slope, the slope of the line we are looking for will be 0.
Therefore, the equation of the line that passes through the point (5, -2) and is perpendicular to the line x = 0 is y = -2.