\"\"

\

The number of chocolate chip cookies is 54, the number of oatmeal raisin cookies is 40 and the number of peanut butter cookies is 30.

\

Find the greatest number of cookies in each bag as follows:

\

Find the GCF of \"\".

\

\"\"

\

In above factorization forms of both monomials, the common prime factors represented by the circle as follows:

\

\"\"

\

The product of common prime factors of the monomial is called their greatest common factor(GCF).

\

The GCF of \"\" is \"\".So, the greatest number of cookies in each bag is 2.

\

Since \"\", the chocolate chip cookies 27 bags and the oatmeal raisin cookies 20 bags and the peanut butter cookies 15 bags.\"\"

\

The greatest number of cookies in each bag is 2.