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