An electrician cuts a 50 ft piece of wire into 3 pieces. The first piece is 4 ft longer than the second piece and the third piece is 2 feet shorter than the second piece. How long are the pieces?