I need help with these two problems.

Answer:
4) x = 9.9; y = 9.9
5) x = 8; y = 16
Step-by-step explanation:
4)
45-45-90
Ratio of lengths of sides:
1 : 1 : √2
x : y : 14
1/x = √2/14
14 = √2 × x
x = 14/√2
x = 9.9
y = x = 9.9
30-60-90
Ratio of lengths of sides:
1 : √3 : 2
x : 8√3 : y
1/x = (√3)/(8√3)
1/x = 1/8
x = 8
y = 2x = 16