Solve the following and graph the solutions:
and