$${0 = v_{0y}t + \frac{g_y t^2}{2}}$$