Gabriel R. answered 03/23/20
The work done by the string on the block is just the product of the force exerted on the block by the string times the distance the force is exerted over (if the force is constant, which it is in this case).
W = FT×d = 50N × 0.80m = 40J