Answer:
Tú is the subject
Tú es el sujeto
Step-by-step explanation:
Tú aprendiste una lección
Because in the sentence it says did you learn and that tells us that it is asking a single person and it also does not tell us their gender, therefore the answer would be tú