Let's derive the answer, assuming that rules for such are completely unknown. We will use only the basic fraction definition $\ x = \dfrac{a}b \color{#c00}\iff b\, x\, =\, a\,$ and standard fraction arithmetic. We have
$$\ \ \ x = \dfrac{5/2}{5/9}\ \overset{\times\, 5/9}{\color{#c00}\Rightarrow}\ \dfrac{5x}9 = \dfrac{5}2\overset{\,\times\,1/5}\Rightarrow \dfrac{x}9 = \dfrac{1}2\ \overset{\times 9}\Rightarrow\ x = \dfrac{9}2$$
In the same way, using only the definition of a fraction and fraction arithmetic, you can easily deduce the rules used in the other answers, as well as other handy fraction rules.
Remark $\ $ Notice how the above works. By using the fraction definition, we have eliminated the nested fraction (fraction of fractions), yielding an equation involving only unnested fractions - to which known fraction arithmetic applies. The same technique works generally: to grok hairy composite objects, it often helps to unwind the definitions of the hairy objects, i.e. replace them by the simpler constituent objects that define them.