Please explain your answer

Answer: Blueberry = $6, Pumpkin = $17
Step-by-step explanation:
Let B represent blueberry pie and P represent pumpkin pie.
Kim: 12B + 8P = 208
- Krystal: 10B + 8P = 196
2B = 12
B = 6
Input B = 6 into either of the equations to solve for P
10B + 8P = 196
10(6) + 8P = 196
60 + 8P = 196
8P = 136
P = 17