Let the smaller portion be x. Therefore, 5 times of x = 5x.
Larger portion = (45-x), 3 times of larger portion = 3(45-x).
Therefore, the equation is:
5x - 3(45-x) = 1
5x - 135 + 3x = 1
8x = 136
x= 17 = quantity of smaller portion.
Let x be the number of the chocolate in the larger group, and y be the number of chocolate in the fewer group.
from the above, we can have :
x+y=45 ---(1)
5y-3x=1 ---(2)
from (1) :
x = 45-y ---(3)
sub. (3) into (2)
5y-3(45-y) = 1
5y-135+3y = 1
8y = 136
y = 17
when y = 17 , x = 28
so, chocolate is divided into two groups, 28 pieces and 17 pieces.