Hi !
the verb to have to use is "étudier"
Depuis quand étudies-tu le droit à l'université ?
(since how long are you studying law at University ? not sure about my translation !!!)
J'étudie le droit à l'université depuis x années
I am studying law at université since X years
you made a mistake writing "étudies-tu"
es-tu = are you
dit = past participe of the verb dire or the third person présent= il, elle dit