Identify the value of p. Give your answers in simplest radical form. HELP PLEASE!!

Answer:
C
Step-by-step explanation:
using the cosine ratio to find p
cos 45° = [tex]\frac{adjacent}{hypotenuse}[/tex] = [tex]\frac{6}{p}[/tex]
cross- multiplying gives
p × cos45° = 6 → [ cos 45° = [tex]\frac{1}{\sqrt{2} }[/tex]]
p × [tex]\frac{1}{\sqrt{2} }[/tex] = 6
multiply both sides by [tex]\sqrt{2}[/tex]
⇒ p = 6[tex]\sqrt{2}[/tex] ( third option on list )