flow chart of types of equations with example