a 36 inch board is to be cut into three pieces so that the piece is twice as long as the first piece and the third piece is 3 times as long as the first piece. if x represents the length of the first piece, find the lengths of all three pieces. whats the length of the first piece?