Use logarithmic differentiation to find the derivative of the function.

y = (x^4 + 2)^2(x^3 + 4)^4