“Leçon” is a feminine singular noun. 
In the first blank, we need an interrogative adjective because “leçon” is a noun and is directly following. 
So the correct form of “quel” is quelle (feminine singular). 
Quelle leçon a-t-elle comprise ? (Which lesson did she understand?) 
In the second blank, we are not repeating the noun — instead, we are referring back to “leçon” in a pronominal form. 
Thus, we use laquelle, which is the feminine singular form of “lequel.” 
Laquelle lui paraît difficile ? (Which one seems difficult to her?) 
Final sentence: Quelle leçon a-t-elle comprise et laquelle lui paraît difficile ?