its really easy....
im not telling u the answer so you can actually do the work and learn!
get atomic # of CL and divide it with 1.3 Kg and the other step is pretty obvious -.-
for second one. start with CoCl2 atomic # first and divide it with 2.27g of H2O the rest is pretty clear... next you just multiply is with 2.73g
EASY PEASY!