Let ABCD be a trapezoid with midsegment MN, and suppose the diagonals split MN into three segments MP, PQ, and QN. If AB=8 and CD = 18, find the lengths of the midsegment MN and the three segments MP, PQ, and QN.