A piece of rope is to be cut into three pieces such that the longest piece is twice as long as the middle length piece and the shortest piece is 8 feet shorter than the middle piece. Their total length is 328 feet. Find the length of each piece

so if the middle piece ha length x, then

x-8 + x + 2x = 328
Solve for x, then finish it off.