In the given figure, we see three triangles within a rectangle. The areas of the triangles are , , , as marked. Show that the area of the rectangle is .

Let the rectangle have width and height .
The vertical segment divides the rectangle into two smaller rectangles.
For triangle A, taking the vertical segment as base,
where is the horizontal distance from the left corner to the vertical segment.
Thus,
For triangle C,
So,
Adding,
Hence, the area of the rectangle is .
Now triangle B has base equal to the vertical segment , and horizontal distance from the vertical segment to the right side .
Using ,
Therefore,
Since both expressions equal the area of the rectangle,
Also, from above,
Eliminating gives,