twho graphs showgraph1 for all cases