A light chord passing voer a frictionless puley has a 7kg mass tied to one end and a 9kg mass on the other. Determine acceleration of masses and tension in chord, assuming it to be inextensible.

The answers are:
Acceleration=1.2 m/s^2
Tension=80N

How do you get to those answers?