A chocolate bar is separated into several equal pieces. If one person eats

one quarter of the pieces and a second person eats one half of the
remaining pieces, there are six pieces left over. Into how many pieces was
the original bar divided?

1 answer

1/4 + 1/2 * 3/4 = 5/8 eaten
so, 3/8 x = 6