Help on choosing the progressive perfect form please!

Answer: A
The past perfect progressive emphasizes the duration of a past action before another action happened. For example, “I had been smoking for 10 years before I quit.” You form the past perfect progressive by using had been followed by an –ing verb.