The equations of the diagonals of a quadrilateral ABCD where the equations of the lines AB, BC, CD, and DA are known