differentiate (x+1)^2
Let's perform the differentiation: ((x + 1)2)'
Apply the differentiation rule: (fn)' = n·(f)'·f(n -1) with f = x + 1
2·(x + 1)'·(x + 1)
(x+1)' = 1 + 0
2·(1 + 0)·(x + 1)
Result:   2·(x + 1)