Answer:
Number of cookies sold is 2000 and number of cupcakes sold is 1500
Step-by-step explanation:
Let number of cookies be [tex]x[/tex]
and number of cupcakes be [tex]y[/tex] so
[tex]x+y=3500[/tex]
Cost of one cookie is $0.75
Cost of one cupcake is $2
[tex]0.75x+2y=4500[/tex]
[tex]x+y=3500[/tex] [tex]\times 2[/tex]
[tex]2x+2y=7000[/tex]
[tex]-1.25x=-2500\\\Rightarrow x=\dfrac{2500}{1.25}\\\Rightarrow x=2000[/tex]
[tex]y=3500-x=3500-2000\\\Rightarrow y=1500[/tex]
Number of cookies sold is 2000 and number of cupcakes sold is 1500.