How to graph a rational function using solution points