A 384-m wire is cut into three pieces. The second piece is 3 m longer than the first. The third is four-fifths as long as the first. How long is each piece?

first = f

f + (f+3) + 4f/5 = 384

5 f + 5 f + 15 + 4 f = 1920

14 f = 1905

f = 136
f+3 = 139
4 f/5 = 109