Answer:
Masha's birthday was yesterday, and she ate cake and ice cream.
Explanation:
Ate is the past tense form of the verb eat. Anytime you want to say that someone eats something in the past, use ate.
It is known to use the past tense form of eat because Masha's birthday was yesterday.