This is a simple differentiation example of a polynomial, where one uses the the standard algorithm - i.e.[nx^n-1] Ina polynomial, one differentiates all parts separately. First Take 3x^2. Multiply by the power and take 1 from it. You get 6x. Same with 5x. Answer = 6x + 5.Whats the use for differentiation? Its to find the a formula for the gradient of the polynomial at any point x. So what you effectively did was create a general formula for finding the gradient m = (y2-y1)/(x2-x1).