I think your answer for part (a) is correct. However, for part (b), everything except plain ol' x is treated like a constant when you take the derivative, right? I mean, you've already found so when you're trying to find the previous value doesn't change. I think this may simplify your expression a bit.