(The problem probably assumes symettric in the Region).
Let the rectangle be moved over units the origin. That means the length is and the height until the semicircle is .
Thus, the area it has is,
Multiply through by denominator,
Note the plus-mius does not matter all it says we can start drawing the rectangle from either side.