The work done by the teacher can be calculated using the equation:
work = force x distance x cos(θ)
Here, the force is 10 N, the distance is 20 feet (converted to meters) and the angle between the direction of force and distance is 0 degrees, so cos(0) = 1.
So, work = 10 N x 20 feet x 0.3048 m/foot x 1 = 60.96 J
The teacher did 60.96 joules of work.