First case

Second case
For the sake of simplicity, let the circle of radius $R$ be at the origin, the rectangle width and height be $w$ and $h$, respectively.
First case

Second case
For the sake of simplicity, let the circle of radius $R$ be at the origin, the rectangle width and height be $w$ and $h$, respectively.
Copyright © 2021 JogjaFile Inc.