How to draw the following shape in Matplotlib

I want to draw the following shape using Matplotlib. I tried matplotlib.patches.FancyBboxPatch() but it does not create exact shape.

Regards.