把以下两句改为定语从句

问题描述:

把以下两句改为定语从句
Tina is a top student.The school gave a medal to her for winning the writing competition.

Tina is a top student who/whom/that the school gave a medal tofor winning the writing competition.
Tina is a top student to whom the school gave a medal for winning the writing competition.