Answer
$g'(x) = 256x^3-192x^2+32x$
Work Step by Step
In order to derivate this function you have to apply the power rule:
$\dfrac{d}{dx}(x^n)=nx^{n-1}$
But first let's rewrite the function
Note: Remember that $(a-b)^2=a^2-2ab+b^2$
$g(x) = 64x^4-64x^3+16x^2$
then
$g'(x) = 256x^3-192x^2+32x$