Answer:
1 cup of hot chocolate is $2.5
1 slice of pumpkin pie is $2.5
Explanation:
Represent Pumpkin Pie with P and Hot Chocolate with C:
Marty:

Patty:

So, we have the following set of equation:
-------- (1)
-------- (2)
Multiply the first equation by 2

-------- (3)
Subtract (3) from (2)


--------------------------


Substitute 2.5 for H in





Divide through by 2


Hence, 1 cup of hot chocolate is $2.5 and 1 slice of pumpkin pie is $2.5