Check If Two Equations Are Equal