Answer:
x (Total number of chocolates) = 27
6 milk chocolates
Step-by-step explanation:
1) 
2)

∧ The fraction gets cross-multiplied and gets removed. 21 is then multiplied by 9/7
3) 
4) 
∧ The 9 / 7 gets multiplied by 7 / 1 to become 9. 7 is then multiplied by x
5) 
6) Simplify 21 * 9 to 189
7) 
8) Simplify to
, where x = total number of chocolates
9)
milk chocolates