Using Functions To Solve One Variable Equations