How about this:
I’ve drawn two lines:
Moved and intersected them:
Selected both of them and clicked node editing:
Then hovered over the pieces I want to TRIM and press the T key:

And with the two segments that remain, ALT-J to auto-join them