I couldn't sleep well last night because there were lots of things on my mind.
- Anoche no pude dormir bien porque tenía muchas cosas en la cabeza.
Last night it was so hot that I couldn't sleep well.
- Anoche hizo tanto calor que no pude dormir bien.