Create rectangle
Right click (or Arrange) > Convert To Editable Shape
Select Shape Tool (F4)
Bend the rectangle edges