a piece of pipe is 40in. long. It is cut in to 3 pieces. the longest piece is 3 times as long as the middle sized piece and the shortest piece is 23 in. shorter than the longest piece. Find the lengths of all 3 pieces of pipe.​