First clue:the number of chocolate bar added to twice the number of candies is 33 Second clue:the number of chocolate bar is 6 less than the number of candies Question: how many chocolate bars and candies are there

2
by Yern

2014-11-10T23:38:13+08:00
Let's have first a variable representation for each kind.
We let x be the amount of chocolate bars and y be the amount of candies.
For the first hint:
the number of chocolate bars added to twice the number of candies is 33
Mathematical Translation:
x + 2y = 33  (1st equation)
For the second hint:
the number of chocolate bars is 6 less than the number of candies
Mathematical Translation:
x = y - 6   (2nd equation)
Since we have two equations and two unknowns, then we can solve for x and y
Substitute the 2nd equation to the 1st equation.
x + 2y = 33
since x=y-6
(y-6) + 2y = 33
y - 6 + 2y = 33
y + 2y = 33 + 6
3y = 39
y = 13 -the number of candies
Substitute y=13 to the 2nd equation
x = y - 6
x = 13 - 6
x = 7 -the number of chocolate bars
There are 7 chocolate bars and 13 candies.
you solve it first haha...
2014-11-11T17:34:22+08:00
First clue can be written as x + 2y = 33

x as chocolate bar and y as candies

Second clue x = y - 6

with this we can simply solve for chocolate and candies

let's try substituting second clue x value to the first clue.

(y - 6) + 2y = 33

-6 + 3y = 33

3y = 33 + 6

3y = 39

y = 13 (we have 13 candies :D )

let's try substituting y value to the first equation(clue) to find x

x + 2(13) = 33

x + 26 = 33

x = 33 - 26

x = 7 (7 chocolate bars yummy :D)

let's now substitute it to the second equation(clue)

7 = y - 6

7 + 6 = y

13 = y (see it matches our value in the first equation)

Ba bye... :D