Let ticket be x and meal be y
So $0.50 for each movie ticket = 0.50x
$2 for each meal = 2y
He purchased 22 tickets, so x = 22
0.50 * 22 = $ 11
Now the total value is $25 (with both ticket and meal)
total = t
0.50x + 2y = t
you know x = 22 and t = 25
11 + 2y = 25
Part A)
2y = 25 -11
y = 14/2
y = 7
Number of meal is 7
Part B)
(don't know about part B)
0.50x + 2y = 25
0.50(22) + 2(7) = 25
11 + 14 = 25
25 = 25