Pot the cursor over the middle blue box on the parent line until the cursor changes from a cross to a line like this <->.
You can then drag the top line over the second line and they will merge