A project calls for a 50 in. long board to be cut into three pieces. The first piece must be twice the length of the second piece. The third piece is 10 in. shorter than the second piece. How long must each piece be?​