The equations of lines whose intercepts are the roots of the equation are
The roots of the equation are 1,2
Equation of line whose intercepts on the axes are a,b is
Hence, the equation of the line having intercepts 1,2 is and the equation of the line having intercepts 2,1 is
Rewrite the equation as