The lengths of the sides of a right-angled triangle form a geometric sequence.
Find the two possible values for the common ratio of the sides.
Use Pythagoras' Theorem
Let the three sides be
The two cases to consider are when
(so the sequence is increasing) and is the hypotenuse (as it is the longest side) and is the hypotenuse.