Describe the information you need in order to calculate a segment length in a right triangle

you need:

1) the lengths of the other two sides, so you can use
Pythagoras,

or

2) One of the acute angles and one of the other sides, so you can use trig.