A ray of light along reflected on reaching x-axis the equation of the reflected ray is y = mx + c then
To get the reflected ray equation, find the equation of the line passing through the point of intersection of incident ray, x-axis and the image of any point on the incident ray with respect to the x- axis
The line meets x-axis at
A point on the line is
The image of B with respect to x-axis is
The equation of the reflected ray is the line passing through the point and
Therefore, the equation of the reflected ray is