Here's a rule of thumb for deciding to ditch your old car