solving rational equations examples with graphs