In this case you are working out the longer side.
To work out this question ensure that you use this formula
a²+b²=c²
In this case the answer is:
14²+22²= the longer side
I hope this helps and hopefully now you can work out the answer
if your still confused message me and i'll explain
Thanks