Hey guys, my math prof gave me a problem i'm not sure exactly how to solve.

f(x) = (x+1)^2

lim h->0

I'm guessing the pattern is: [f(x+h) - f(x)]/h

so you would get this: [(x+1+h)^2 - (x+1)^2]/h

and the next step is: [(x+1)^2 + 2(x+1)h + h^2 - (x+1)^2]/h

i dont get how to go from the first step to the second step =/

(i tried to use the math tags but they didnt come out right, sorry for not formatting them correctly)