Vector > Merge > Trim

Select this menu option to trim two selected vectors at the point at which they overlap.

Note: The Trim Vectors button on the Vector Editing toolbars is a shortcut for this menu option. The availability of this button and toolbar is license dependent.

For example, these vectors:

change to: