The free body diagram of the system can be shown as,
According to free body diagram, the tension in the chord can be given as,

Also, the tension due to second mass can be given as,

Equate both the values,

Substitute the known values,

Therefore, the acceleration of the system is 4.35 m/s2.