Area and perimeter of parallelograms