Based on the given figure, you have that the components of the forces on the direction of the incline are:
applied force:
Fa = 500N*cos(-30°) = 433.01N
friction force:
Fr = µk*N = µk*m*g*cos(30°) = (0.42)(40kg)(9.8 m/s^2)cos(30°) = 142.58N
gravitational force:
Fg = m*g*sin(30°) = (40kg)(9.8)sin(30°) = 196.0N
Next, consider that the work done by a force is equal to the product of the force and the distance at which the force is applied. In this case, such distance is 8m.
Then, you have:
Work done by the applied force:
WFa = (433.01N)(8.0m) = 3464.08 J
Work done by the friction force:
WFr = (142.58N)(8.0m) = 1140.64 J
Work done by the gravitational force:
WFg = (196.0N)(8.0m) = 1568.0 J
Finally, the net work, based on the direction of the forces, is:
Net work = WFa - WFr - WFg = 3464.08J - 1140.64J - 1568.0J = 755.44J
Hence, the net work is 755.44 J