First lets draw a diagram.
Now that we have a visual, we can start working on the math.
The formula for work is as follows

Where W is work, F is force, and d is the distance traveled.
Since we know that the distance traveled is 6 meters, we Just need to find the force of gravity. Since the box is at an angle, we will need to find the trigonometric component of gravity from the box.
In this case, we will need to find the cos of 30 newtons.
30cos(37) = 23.96 Newtons
Now we plug this force in with distance and we get the total work to be 143 J or 1.4 x 10^2