Ответ:

1. Alice had been painting for three years before she sold her first painting.

Ответ: had been painting