Vector analysis using graphical and analytical methods in 2D