A three foot long deli sandwich must be split into three pieces so that the middle piece is twice as long as the shortest piece, and the shortest piece is 8 inches shorter than the longest piece. How long should the three pieces be?