Can anyone help me to figure out to solve this problem? Like what you see in the attached picture. I have one polygon like this, so I want to make a rectangle which is cover the