A and B are acute angles such that cosA =3 over 5 and cosB =12 over 13