Can someone help solve both of these? ASAP

Question 4
[tex]\sin 30^{\circ}=\frac{y}{14\sqrt{3}}\\\\\frac{1}{2}=\frac{y}{14\sqrt{3}}\\\\\boxed{y=7\sqrt{3}}\\\\\\\\\cos 30^{\circ}=\frac{x}{14\sqrt{3}}\\\\\frac{\sqrt{3}}{2}=\frac{x}{14\sqrt{3}}\\\\\boxed{x=21}[/tex]
Question 5
[tex]\cos 45^{\circ}=\frac{x}{28}\\\\\frac{1}{\sqrt{2}}=\frac{x}{28}\\\\x=\frac{28}{\sqrt{2}}\\\\\boxed{x=14\sqrt{2}}\\\\\\\\\sin 45^{\circ}=\frac{y}{28}\\\\\frac{1}{\sqrt{2}}=\frac{y}{28}\\\\y=\frac{28}{\sqrt{2}}\\\\\boxed{y=14\sqrt{2}}[/tex]