Compare two graphs from their equations.