Answer:
longest pole that can be used is in the diagonal of the cuboid(Box)
diagonal =
[tex] \sqrt{ {10 +}^{2} } {20}^{2} + {40}^{2} [/tex]
diagonal=longest rod =10root21