The bags of candy that was sold is 6
The bags of cookies that was sold is 10.
$8.50c + $4.50o = 79 equation 1
o - c = 6
o = 6 + c equation 2
Where:
Substitute for o in equation 1 using equation 2
$8.50c + $4.50(6 + c) = 79
$8.50c + 27 + 4.50c = 79
$8.50c + 4.50c = 79 - 27
$13c = 52
c = 52 / 13
c = 4
Substitute for c in equation 2
0 = 6 + 4 = 10
To learn more about linear functions, please check: https://brainly.com/question/26434260
#SPJ1