Give me a transition table for each agent and all actions that solves for the following problem:
NAME_1 have 10 apples. He gives 5 to NAME_2 who eat 2 for lunch. NAME_1 buys two more apples. How many apples do they have?