Теория:

Study some signal words for Past Perfect Continuous.
 
  
Words for Past Perfect Continuous:
  
for — в течение;
  
since — с, с какого-то момента;
  
when — когда;
  
how long — как долго;
  
before — до того.

 
Examples
  
In \(2014\) The Browns had been living in London for twenty years.
 
london.jpeg


I had been working for Nike since \(2017\).

We had been waiting for Mary since morning when she finally arrived at \(5\) pm.

They had been watching TV when the lights went off.
  
watch Tv.jpg

How long had you been waiting before he came?

James had been teaching at the university for more than a year before he left for London.
Источники:
nit.pt/out-of-town/viagens/8-hoteis-incriveis-para-dormir-em-londres-por-menos-de-70e
www.moneycrashers.com/watch-free-hdtv-channels-digital-tv-antenna/