Why are you randomly rewriting the equation? The way to solve a quadratic equation has already been posted..
Why are you starting with a complete set of values, including time and distance, that you plug in to verify the refactored equations? Where are they coming from?