Solve and graph the solution.