How long have you studied /did you study before you have gualified
How long did you study before you have qualified. Обучался до этого вообще, в прошлом. Past Simple.
Там have вообще лишняя. по идее должно быть How long did you study before you qualified.
Согласна.