A horizontal force of magnitude F = 164 N is used to push a box of mass m = 7 kg from rest a distance d = 17 m up a frictionless incline with a slope q = 31°.

How much work is done on the box by the gravitational force during this same displacement?

work= mg*changeinheight

work= mg*d*sinTheta

Notice the problem did not say at constant velocity.