A 109 length of ribbon is to be cut into three pieces. The longest piece is to be 36 inches longer than the shortest piece, and the third piece is to be half the length of the longest piece. find the length of each piece.