Th answer is C. PAST PERFECT PROGRESSIVE because it includes has been. HAD indicating the past, BEEN being the perfect, and writing is your verb.
You know it's not B because it's present, even though it as has a perfect. And it's not A or D because neither have a perfect.
Hope this helps! I tried explaining things a bit for you!!