[solved] Trying to understand easing

I also understand that you’re moving 10% of the way you need to go each frame and all.
But, I’m having kinda a brain-fart, and I can’t figure out why this isn’t working:

targetX = position.x;
if(Keyboard.isKeyDown(Keyboard.KEY_D)) targetX += 10f;
x += (targetX - x) * .1f;