6. The band had been performing for an hour when the electricity went off.
Ответ: had been performing