The image of the line on x-axis is then the value of
To get the image of any line with respect to the other line then find the equation of the line passing through images of any two points on the line with respect to the line
Two points on the line are and
The image of a point on x-axis is
Hence the images of and on x-axis are and
Equation of the line passing through the points and is
Compare this with ,
Hence .
Therefore