Join matches items of two sequences on a key, like an inner join in SQL: orders.Join(customers, o => o.CustomerId, c => c.Id, (o, c) => new { o.Id, c.Name }). Items with no match on the other side are dropped.
To keep every item on the left, like a SQL left join, use GroupJoin, which pairs each left item with the (possibly empty) group of matches, then SelectMany with DefaultIfEmpty() to flatten it. Many teams find a lookup or dictionary clearer for left joins: build ToDictionary or ToLookup from the right side once, then look up while projecting the left side.
SelectMany flattens nested sequences: each order has lines, and orders.SelectMany(o => o.Lines) gives one sequence of all lines. An overload passes both the parent and the child to a result selector, so you can keep the order ID with each line.
Flatten order lines with SelectMany, and join orders to customers.