Geometric constructions of iterative functions to solve nonlinear equations