Geometric reasoning of algebraic calculation