Looking at the drawing it seems that the inside rectangle is not separate from the outside rectangle so won't delete as such. In this case I'd click on the nodes, then on the commands on the top tool bar break apart at selected nodes, then delete the nodes of the inside rectangle and redraw the outside of the rectangle and join it up.
Bit complicated but doable!
Susibi
