The line is passing through the point of intersection of the lines,
Solve equation (1) and equation (2) for the point of intersection.
Substitute the value of
Further simplify the above expression.
Substitute the value of
The point of intersection of the two lines is
The formula for equation of line making an intercept of
For equal intercepts,
Substitute the values of
Substitute the value of
Thus, the equation of line passing through the intersection of the lines