A37 foot long Submarine sanwich is cut in to three piece.the shortest piece is x feet long.the second piece is twice as long as the shortest piece.the longer piece is 2 feet longer than four time the length of the shortest piece.find the length of all three piece

answer is x= 35/9

shortest piece --- x

second piece ---- 2x
longest piece ---- 4x+2

x + 2x + 4x+2 = 37
7x = 35
x = 35/7 ,
x = 5 , which is not your answer

check:
shortest = 5
second = 10 , twice as long
longest = 2 more than 4 times the shortest = 2+20 = 22
and 5+10+22 = 37

Let's solve this step by step.

Let's assume the length of the shortest piece is 'x' feet.

According to the question, the second piece is twice as long as the shortest piece. So, the length of the second piece would be 2x feet.

The question also states that the longer piece is 2 feet longer than four times the length of the shortest piece. So, the length of the longer piece would be 4x + 2 feet.

Now, we know that the total length of the submarine sandwich is 37 feet. The sum of the three piece lengths should be equal to the total length.

Therefore, we can write the equation:

x + 2x + (4x + 2) = 37

Simplifying the equation:

7x + 2 = 37

Subtracting 2 from both sides:

7x = 35

Dividing both sides by 7:

x = 5

So, the length of the shortest piece is 5 feet.

Now, substituting the value of x in the equations we derived earlier, we can find the lengths of the other two pieces:

Length of the second piece = 2x = 2 * 5 = 10 feet
Length of the longer piece = 4x + 2 = 4 * 5 + 2 = 20 + 2 = 22 feet

Therefore, the lengths of the three pieces are:
Shortest piece = 5 feet
Second piece = 10 feet
Longer piece = 22 feet