how to solve for acceleration when only time is given