While I was doing my homework, my father cooked the dinner and my mother was asleep in front of the television.

Compound-complex