Traduire en français des phrases au past perfect Be-ing Traduction

Quelle est la traduction française de chacune des phrases suivantes ?

He had been working very hard.

Had you been listening to our conversation?

I hadn't been sleeping at all.

You had been studying before the exam.

They hadn't been waiting for us for two hours.