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.
I couldn't sleep well because it was noisy outside.
- No pude dormir bien porque había ruido afuera.