It is given that Ms. Baker baked 6 batches total, and each batch had 12 cookies.
The total number of cookies=6 time 12


The total number of cookies is 72.
Let x be the number of gingerbread cookies.
The given that ne third as many gingerbread cookies as chocolate chip cookies.
The number of chocolate chip cookies =1/3 of x

The total number of cookies=the number of gingerbread cookies+the number of chocolate chip cookies.
Substitute values, we get






Transferring 4/3 to the left-hand side, we get



Hence the number of gingerbread cookies =54 cookies.
The number of chocolate chip cookies =1/3 of x

The number of chocolate chip cookies = 18 cookies.