Using a double-angle or half-angle formula to simplify the given expressions.

(a) If cos2(38)sin2(38)=cos(A),\displaystyle {{\cos}^{{2}}{\left({38}^{\circ}\right)}}-{{\sin}^{{2}}{\left({38}^{\circ}\right)}}={\cos{{\left({A}^{\circ}\right)}}}, then

A=\displaystyle {A}=   degrees

(b) If cos2(9x)sin2(9x)=cos(B),\displaystyle {{\cos}^{{2}}{\left({9}{x}\right)}}-{{\sin}^{{2}}{\left({9}{x}\right)}}={\cos{{\left({B}\right)}}}, then

B=\displaystyle {B}=   .