Solving motion problems using parametric and vector-valued functions