Dear Sanjay, While I was looking for calculating the overlapping area, I ran into this post. How can we calculate…