They are selling lollipop for $5 each and cupcakes for $7 each
Step-by-step explanation:
Let l be the price of lollipops and
c be the price of cupcakes
Then according to given statements
[tex]5l+2c = 39\ \ \ Eqn1\\3l+6c = 57\ \ \ Eqn2[/tex]
Multiplying equation 1 by 3
[tex]3(5l+2c) = 39*3\\15c+6c = 117\ \ \ Eqn3[/tex]
Subtracting equation 2 from equation 3
[tex]15l+6c - (3l+6c) = 117-57\\15l+6c-3l-6c = 60\\12l = 60[/tex]
Dividing both sides by 12
[tex]\frac{12l}{12} = \frac{60}{12}\\l = 5[/tex]
Putting l = 5 in equation 1
[tex]5(5)+2c = 39\\25+2c = 39\\2c = 39-25\\2c = 14[/tex]
Dividing both sides by 2
[tex]\frac{2c}{2} = \frac{14}{2}\\c = 7[/tex]
So,
They are selling lollipop for $5 each and cupcakes for $7 each
Keywords: Linear equations, variables
Learn more about linear equations at:
#LearnwithBrainly