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