SHAE: The height of a moving truck is 5 feet. The distance from the bottom edge of a ramp on the ground to the truck is 10 feet. How long is the ramp?
Maybe you mean,
The perpendicular height from the ground to the tray of a truck is 5 feet.
The horizontal distance from the end of the ramp to the end of the truck is 10 feet.
This would give you a right angled triangle where the ramp is the hypotenuse.
You would use Pythagoras' Theory to find the length of the ramp.