Think of this like a triangle. The dock is 15 feet above ground. It is the side of the triangle. The line connecting the bottom of the dock to the base of the conveyor belt is 40 feet. This is like the base.
The conveyor belt itself is at a diagonal, and should be the hypotenuse.