Answer:
5)

6)

Explanation:
You have to know Pythogeroem theorem, which is:
, where a, b are the sides of the triangle and c is the hypothesis (the side in front of the 90° angle)
5)
Plug in the numbers into the equation, make sure c is the hypothesis (the side in front of the 90° angle). Hypothesis is x in this example.

6) Hypothesis is


Same steps for 7) and 8)