Differentiate (y-4)(2y + y2) with respect to y
y3- 8y2+9
3y2-4y-8
y2+3y+6
4y3-3y2+3
ddy(y-4)(2y+y2) = ddy(2y2+y3-8y-4y2) ddy(y3-2y2-8y) = 3y2-4y-8