The best answer would be "Usted tiene las galletas".
Galletas is the word for "cookies". Pastel is "cake". The woman in the photo is holding a tray of cookies so the correct answer must include the word "galletas".
The two choices with "galletas" have the subjects "Usted" and "Él". "Usted" is the formal form of the word "you", and "él" is "he". The person in the photo is a woman so "él" is incorrect. It must be the sentence with "usted".
Ella está aburrida y quiere jugar is roughly "she is bored and wants to play" and the sentence before was talking about Maria. I'm not really sure where Luisa is coming in at