6.
cos a = adjacent side / hypotenuse
Replacing with the values given:
Cos 45 = 13 / y
y= 13/cos45
y= 13/ (1 /√2 )
Y= 13√2
For x apply the Pythagorean theorem
c^2 = a^2 + b^2
Where:
c= hypotenuse
a & b = the other 2 legs
(13 √2 )^2 = x^2 + 13^2
338 = x^2 + 169
338 - 169 = x^2
169 =x^2
√169 = x
x = 13