write a general equation describing the position at any time of an object starting from some position x0 moving with velocity

v.

p(t)=Po+ v(t)*time + 1/2 accelration * time^2 for constant acceleration. Now for changing acceleration and velocity, you have to go to calculus...

P(t)=Po+ INT v(t) dt + INT (INT (v(t)dt)dt