Vivien and Mike were given some apples and pears by their grandmother. They
had 25 pieces of fruit in their basket altogether. On the way home Vivien ate 1
apple and 3 pears, and Mike ate 3 apples and 2 pears. At home they found out
that they brought home the same number of pears as apples. How many pears
were they given by their grandmother?