The side lengths $a,b,c$ of a triangle $ABC$ are integers with $\gcd(a,b,c)=1$. The bisector of angle $BAC$ meets $BC$ at $D$. (a) show that if triangles $DBA$ and $ABC$ are similar then $c$ is a square. (b) If $c=n^2$ is a square $(n\ge 2)$, find a triangle $ABC$ satisfying (a).