A block of mass 3 kg is kept on a 6 kg block and is kept on a smooth surface. The coefficient of static friction between them is 0.3. A force F is applied on the upper 3 kg block and it is on the verge of slipping when the system moves together for a distance of 1 m. Calculate the work done by static friction on 3 kg and 6 kg respectively. (Take g=10 m/s2)