use Pythagoras theorem
a² + b² = c²
14² + b² = 40²
b² = (40² - 14²)
b = 37.46 feet.
1.6m questions
2.0m answers