Solve and graph the solutions.