hint:

Treat each block seperately.
The force exerted by block 1 on 2 is equal to the force by block 2 on block 1.
tex2html_wrap_inline51