The cost of cupcakes is $1.25 and cookies costs $0.90.
Two equations that would be used to determine the required values can be derived from this question:
20x + 40y = 61 equation 1
30x + 30y = 64.50 equation 2
In order to determine the value of y, the following steps would be taken: Multiply equation 1 by 3 and equation 2 by 2.
60x + 120y = 183 equation 3
60x + 60y = 129 equation 4
Subtract equation 4 from 3
60y = 54
Divide both sides of the equation by 60
y = $0.90
Substitute for y in equation 1
20x + 40(0.9) = 61
20x + 36 = 61
20x = 61 - 36
20x = 25
x = 25 / 20
x = $1.25
To learn more about simultaneous equations, please check: : https://brainly.com/question/25739929