Answer
$y' = 2w-\frac{1}{w^2}$
Work Step by Step
First Separate Into 3 Different Fractions to Make Differentiation Easier:
$y = \frac{w^4+5w^2+w}{w^2} = w^2 + 5 + w^{-1}$
Power Rule:
$y'=1(2)w^{(2-1)}+5(0)w^{(0-1)} + 1(-1)w^{(-1-1)} = 2w-w^{-2}=2w-\frac{1}{w^2}$