I need help with Special Right Triangles. Thanks :)

Answer: c
Step-by-step explanation:
sin(45) = [tex]\frac{12}{AB}[/tex]
sin(45) = [tex]\frac{\sqrt{2} }{2}[/tex]
so [tex]\frac{\sqrt{2} }{2} =\frac{12}{AB}[/tex]
[tex]AB = \frac{24}{\sqrt{2} }[/tex]
[tex]AB = (\frac{24}{\sqrt{2} }) (\frac{\sqrt{2} }{\sqrt2} } )[/tex]
[tex]AB = \frac{24\sqrt{2} }{2}[/tex]
[tex]AB= 12\sqrt{2}[/tex]
Please give me a brainliest answer
[tex]\\ \sf\longmapsto cos45=\dfrac{CB}{AB}[/tex]
[tex]\\ \sf\longmapsto \dfrac{1}{\sqrt{2}}=\dfrac{12}{AB}[/tex]
[tex]\\ \sf\longmapsto AB=12\sqrt{2}[/tex]