Answer:
The longest piece is 21 feet.
Explanation:
Let the three pieces be x,y and z.
The first piece of ribbon is half as long as the second piece of ribbon.
....(1)
The third piece is 1 foot longer than twice the length of the second piece of ribbon.
.........(2)
And together all pieces measure 36 feet.
......(3)
Substituting values of x and z in (3)

Solving this we get;

=>

=>

=>

y = 10 feet
As
x = 5 feet
And also
=>

=>

=>

z = 21 feet
Hence, the longest piece is 21 feet.