She ____ for three hours when the power went out.
She ____ for three hours when the power went out.
Explanation
She had been studying for three hours when the power went out.
"Had been studying" is a past perfect continuous tense.
It indicates an action that began in the past.
The action continued for a duration of time.
It ended before another past event (when the power went out).