A block A of mass 7 kg is placed on a frictionless table. A thread tied to it passes over a frictionless pulley and carries a body B of mass 3 kg at the other end. The acceleration of the system is (given `g=10ms^(-2)`)
A. `100ms^(-2)`
B. `3ms^(-2)`
C. `10ms^(-2)`
D. `30ms^(-2)`