An electric motor is tested and found 76% efficient. if the input work is 400 J, what is the motors output work?

A ramp has a length of 4m and a height of 1.5m. If a man pushes a 40N crate to the top of the ramp with a force of 60N, what is the efficiency of the ramp?

How do I do these two?