When a bad thing happens but something equally good happens after they cancel each other out, pemdas.
Me: I absolutely failed that exam and my grade is failing.Bestie: what if we get margaritas and forget about it? Pemdas they cancel out!