So I have a sprite and I want it to accelerate towards a point but only halfway to it and then the other half of the distance I want the sprite to decelerate with a deceleration equal to the acceleration like if the acceleration was 100 the deceleration should also be 100.