The trade interface will show both parties' inventories and a trading window. Drag items into your offer space and the other party's items into theirs. The merchant will give feedback on the deal if it is not satisfactory. When everything is ready, click Accept.