Whose? Look back before looking forward.
Dessen and deren express possession in relative clauses. Their form follows the owner’s gender and number, not the possessed object.
Hinglish hintDessen/deren owner ke gender-number se chuno; baad wale noun se nahin.
Use dessen for a masculine owner
Der Mann is masculine; his daughter does not make the pronoun feminine.
Die Frau, deren Sohn hier lernt, wartet.
Aha! See the common trap
Not thisDie Frau, dessen Sohn hier lernt, wartet.
Try thisDie Frau, deren Sohn hier lernt, wartet.
The owner is die Frau, so use deren. Sohn does not determine this choice.
More examples, less guessing
Die Frau, deren Auto hier steht, wartet.The woman whose car is here is waiting.
Der Mann, dessen Tochter hier lernt, ist Lehrer.Practice the highlighted construction in another context.
Die Frau, deren Sohn hier lernt, ist Ärztin.Practice the highlighted construction in another context.