Put the verbs in brackets into the Past Perfect Continuous.
Marie Curie (learn) French for five years before she could speak fluently.