How do Trim and Extend commands work as Auto CAD, in DraftSight

Its showing error while selecting entity which needed to extend !