Rectangle Area

From LeetCode. Union area of 2 rectangles. Solve the geometry problem "Rectangle Area".

Examples
Input: [1,2,3]
Output: 0
Hints

Rectangle Area

**From LeetCode.** Union area of 2 rectangles. Solve the geometry problem "Rectangle Area".