Analysis of Motion in 1D And 2D