solves kinematics problems