If f (x) = (x^2+5x+2)^2, find f'(x).

Find f'(5).

Please show your work and explain it so I can understand how to solve this.
Thanks

figure out its derivative

so it will be chain rule
so its
2(x^2+5x+2)^1(2x + 5) << this is the derivative of the inside
and when u have this just sub in 5

so its
2(25+25+2)(10+5) = 1560