Answer:
Blueberry costs 9 dollars
Pumpkin costs 7 dollars
Explanation:
Let "b" represent the price of a blueberry pie
Let "p" represent the price of a pumpkin pie
Step 1: Set equation
5b + 12p = 143 ----- 1
10b + 8p = 142 ----- 2
Step 2: Isolate 1 for "b"
5b = 143 - 12p
------- 3
Step 3: Substitute 3 into 2

Step 4: Subsitute p = 9 into 1 for b

Therefore a pumpkin pie costs 7 dollars while a blueberry pie costs 9 dollars