Total number of parts:
2+3=5.
Each part is:
20 cookies/ 5 parts= 4 cookies/part.
Number of chocolate cookies is:
4 cookies/part* 2 parts= 8 cookies.
Number of sugar cookies is:
4 cookies/part* 3 parts= 12 cookies.
There are 8 chocolate cookies and 12 sugar cookies~