Whether slang, idioms, or colloquialisms, it is not wise to use such phrases in a written essay, which requires more formality than these offer.
A piece of cake -- a simple task
Let someone sleep on it -- let someone think about it carefully
Face the music -- accept the consequences
- For Teachers