Given:
The rectangle formed by the lines,
It is clear that, the vertices of the rectangle are:
The diagonal passing through A (a, b) and C (a’, b’) is
By using the formula,
and
In the same way, the diagonal passing through B (a’, b) and D (a, b’) is
By using the formula,
And
∴ The equation of diagonals are:
And