To get the answer here you have to look for a number that you can divide into 51. If you divide 51 by 3 you will get 17. Therefore she made 17 groups and put 3 bears in each group.
You can also say it like this:Therefore she made 3 groups with 17 bears in each groups.
It depends on the answers. Have a good day!