TryAlgo

Joining with friends

Some easy geometry problem.

Explanation

The goal is to compute the area of the intersection of this shaded strip with the rectangle. Can be solved by simple case analysis.