Respuesta :
Answer:
Tom
Explanation: Subject answers to a question Who? So in this case Tom is the one that did something, aka offered you a piece of cake.
Answer: It is cake... only because what functions which could mean also.. So Tom is one subject like main but you need the other function so cake.