$${s_x = \frac{v_x^2 - v_{x0}^2}{a a_x}}$$