Answer:
$3.2
Explanation:
Let x be the cost of each cupcake and y be the cost of each slice of pie.
We have been given that the cost of one cupcake and two slices of pie is $12.40. We can represent this information as:

We have been given that the cost of two cupcakes and three slices of pie is $20.20. We can represent this information as:

We will use substitution method to solve for the cost of one cupcake.
From equation (1) we will get,

Substituting this value in equation (2) we will get,



Therefore, cost of one cupcake is $3.2.