How would you solve the problem

(y^2-4w)^2

If by "solve the problem" you mean expand, then

(y^2-4w)^2
= y^4 - 8wy^2 + 16w^2