Hello, I try to understand a step in my solution manual, but I can not figure out what they did. Please help me with some steps they obvoiusly left out...

x^4/5 * 2(x-4) + (x-4)^2 * 4/5x^-1/5 =

1/5x^-1/5 *(x-4) *[5*x*2+(x-4)*4]

How do they get from line 1 to line 2? Thanks for any help