Emsee,
This is a bit of a trick question.
The equation you have is only correct for calculating the work done against gravity (and then only when you're near earth's surface).
The equation for calculating work is: work (joules) = Force (Newtons) * distance (meters)
Specifically, this says that the work done on an object is equal to the force applied to it multiplied by the distance that force caused it to be moved.
"My teacher has told me the calculation is: weight(kg)x10 (this gives me the force)x distance."
That equation is a specific example of a work calculation: the work done when moving an object up or down against gravity. The 10 represents acceleration due to gravity and is actually 10 meters per second per second (also known as meters per second squared). Always use units.
If the force exerted is not against gravity, it is calculated differently...but don't get started trying to figure out how to do that just yet.
Work=Force*distance
You don't know what the magnitude of your force is, but you know what direction it's in. So how much does the object that the force is applied to move in that direction?
I'll let you figure out the rest since it's a homework problem.