Find the value of each variable. Help asappppp

Answer:
Y= 20
Z = 20
Step-by-step explanation:
Y:
cos(∠BAC) = [tex]\frac{AC}{AB}[/tex]
cos(45°) = [tex]\frac{y}{20\sqrt{2}}[/tex]
Y= 20
Z:
sin(∠BAC) = [tex]\frac{BC}{AB}[/tex]
sin(45°) = [tex]\frac{z}{20\sqrt{2}}[/tex]
z = 20