The distances between the given points are the length (l), width (w), and diagonal (d).
The distance between the three corners is:
The diagonal is the longest distance and the width is the shortest distance, which means the and .
The area of a rectangle is .
Multiply by to get .