Answer:
W = F * S = 300 N * 30 m = 9000 Joules
This is the work out of the system regardless of how the pulleys are arranged
Conservation of energy tells that
Work Out = Work In - Work done by friction
So Work In = 9000 J + 2000 J = 11000 J The work input to the system