Mechanically work done is equal to (symbols have their usual meanings)
W=F/d
W=Fd
W=F+d
W=F-d
Thus, W=Fd is the correct representation of work.
Hence, option (b) is correct.