find the value of x in the triangle. 45-45-90. PLASE HELP!!!

Answer:
2) X = 14 and y = 19.8
3) X = 25.45
5) X = 5.66
6) X = 7.07
Step-by-step explanation:
2) tan45° = 14/x
x(tan45) = 14
x = 14 / tan45
x = 14
[tex] y = \sqrt{14 ^{2} + 14 ^{2} } [/tex]
y = 19.79
3) cos45 = 18/x
x(cos45) = 18
x = 18/cos45
x = 22.45
5) cos45 = x/8
8(cos45) = x
x = 5.66
6) cos45 = x/10
10(cos45) = x
x = 7.07