$${x=\frac{at^2}{2}}$$