Unless you want to use the formula for the solution of a cubic, trial and error is "the right way."
Let t be the "tall" dimension.
t(4t)(4t+5) = 2500
16t3 +20t2 -2500 = 0
4t3 + 5t2 - 625 = 0
t=5 is a good first guess for a root. The other dimensions follow from that.
After finding the first root, the equation can be factored.
= (t-5)(4t2 + 25t + 125) = 0
The quadratic has no real roots, so t=5 is the only real solution to our cubic.
Let t be the "tall" dimension.
t(4t)(4t+5) = 2500
16t3 +20t2 -2500 = 0
4t3 + 5t2 - 625 = 0
t=5 is a good first guess for a root. The other dimensions follow from that.
After finding the first root, the equation can be factored.
= (t-5)(4t2 + 25t + 125) = 0
The quadratic has no real roots, so t=5 is the only real solution to our cubic.