Answer:
The correct answers are: salía ("left"); comía ("ate").
Step-by-step explanation:
As the sentence is referring to a situation in which girl used to work in the morning and used to go to school in the afternoon, with a quick intermediate to eat, then the first blank goes with the verb "salir" ("to leave") indicating the moment in which the first period of her day ends and passes to the next period, which is the intermediate to eat, and in which is the second blank, that goes with the verb "comer" ("to eat").
Now, as the last part of the sentence says that the girl "iba" ("used to go"), then we assumed that the sentence must be in the past. But, we should use the past imperfect, that is used when describing routines in the past, as the sentence is doing.
The way to get to this past imperfect is by changing the termination of the infinite form of the verbs (verbs with termination in -ar goes with -a; and verbs with termination in -er/-ir goes with -ía).
The verb "salir" has an -ir termination, and the verb "comer" has an -er termination, both change their termination to -ía. Then the correct answers in the sentences would be: "salía" and "comía".