Each piece is 4 fifths of a foot long. It is equivalent to 4/5 of 1 ft.
In order to determine the length of the string before Megan cut the string, just multiply 4/5 by the number of pieces.
Then, you have:
(4/5)(4) = 16/5
Then, the string was 16/5 feet long before it was cut.