I need to move an object from position 0 to 300. The speed should change depending on a function y=x^2, x∈[-2;2]