a 21 inch board is to be cut into three pieces so that the second piece is twice as long as the first piece and the third piece is 4 times as long as the first piece if x represents the length of the first piece find the lengths of all three pieces what is the length of the first piece ?