Option (A) is correct.
Explanation: The block and rope move together. The only external horizontal force on the system (block + rope) is the 50 N pull, so
a=8+250=5 m s−2
At the block: the rope's pull on the block is the only horizontal force on the block, so Tblock=8×5=40 N.
At M: consider the block together with the half of the rope nearest to it (mass 8+1=9 kg). The only horizontal force on this part is the pull of the other half of the rope at M:
TM=9×5=45 N
Check from the other side: the outer half of the rope (1 kg) has 50 N pulling forward and TM pulling back, so 50−TM=1×5, which gives TM=45 N.
The tension falls steadily from 50 N at the hand to 40 N at the block, because each piece of a massive rope needs a net force to accelerate it.
(B) is wrong: the tension is the same all along only for a massless rope.
(C) is wrong: 40 N is the tension only at the block end; at M the tension must also accelerate half of the rope.
(D) is wrong: the tension at the block end must accelerate only the 8 kg block, so it cannot be the full 50 N.