the chain rule is actually being applied twice. If you see my chain rule that I posted earlier, you ultimitely need to take the derivative with respect to u. that's where that expression comes from. So what you have there is fine, but that's u^k/2, not r. You need to substitute that back in. So you have ##\frac{k}{2}u^{0.5k - 1}## with me so far?
this is equal to ##\frac{k}{2}\frac{u^{.5k}}{u}## you need to use the fact that u = r^2 (because r has the square root in it)
##u^.5k = r^k## and ##1/u = r^{-2}## so all together it's ##\frac{k}{2}r^{k-2}## I might have lost some constants along the way, I'm kinda in a hurry atm, walking out the door at work, but that's where the 2 comes in, and that's what gets rid of the r in the lambda.