Use a vector image editor to create the required shape, and save as SVG. Inkscape is free, so try that.
Draw a rectangle using the Rectangle tool F4
Click Path > Object to path Shift+Ctrl+C
Use the Select by Nodes tool F2 to move the corner nodes as required. After clicking on a node, holding down Shift+Ctrl as you drag will constrain the move horizontally/...