Education

You do not pay income taxes on a gift.  She cannot deduct the $40k.