The work W done by a constant force F applied at an angle θ from the displacement d that a particle undegoes under the influence of the force F, is:

In this case, the angle is equal to 25º, the magnitude of the foce is 20.0N and the displacement is equal to 12.0m. Then, the work done by Matthew is:

Therefore, the work done by Matthew is approximately 218J.