A lab technician cuts a 336 inch piece of tubing into two pieces in such a way that one piece is 2times longer than the other. How long are the pieces?