Emily brought $35 to the fair. At the fair, she spent $16 on ride tickets and she also bought lunch. She had $7 when she left the fair. How much did Emily spend on lunch?

(Image: 23 plus x equals 35; x equals 12)
(Image: 16 plus x equals 35; x equals 19)
(Image: x minus 23 equals 35; x equals 58)
(Image: x plus 9 equals 35; x equals 26)

Emily spent $19 on lunch.