The correct answer is "did".
Here is the explanation:
We need to choose the correct auxiliary verb to form a question in the past simple tense. The verb "give" is in the base form, which suggests that we are asking about a specific action in the past. Therefore, the correct auxiliary verb to use is "did".
The complete question is: "What did you give to your Grandma?"
Answer: did