$${x = x_0 + v_{0x} + \frac{g_x t^2}{2}}$$