The block comes to a rest from 12 m/s with acceleration 3 m/s^2, which is carried out over a distance x such that
(12 m/s)^2 - 0^2 = 2 (3 m/s^2) x
=> x = (12 m/s)^2 / (2 (3 m/s^2)) = 24 m
The force itself has a magnitude F such that
F = (4 kg) (3 m/s^2)
=> F = 12 N
This force is pointing opposite the direction in which the block is moving, so the work it's performing is negative, and the work done is
W = - (12 N) (24 m) = -288 Nm = -288 J
which makes C the answer.