Option (D) is correct.
Explanation: First decide the direction of motion. The hanging block pulls with its weight 6×10=60 N; the trolley's weight component down the track is 4×10×sin30∘=20 N. Since 60>20, the hanging block moves down and the trolley moves up the track, both with the same acceleration a.
Hanging block (down positive): 60−T=6a
Trolley (up the track positive): T−20=4a
Adding: 40=10a, so a=4 m s−2.
Then T=20+4×4=36 N. Check with the hanging block: 60−36=24=6×4.
The tension (36 N) is less than the hanging weight (60 N) because the hanging block is accelerating downward.
(A) is wrong: it uses the full weight of the trolley (40 N) instead of its component along the track, giving a=2 m s−2 and then T=6(10−2)=48 N.
(B) is wrong: the tension equals the hanging weight only when the hanging block is in equilibrium; here it accelerates downward.
(C) is wrong: T=4a=16 N ignores the weight component of 20 N that the string must also overcome.