Triangle $ABC$ has $AB=35,AC=28,$ and $\sin{A}=\frac{2}{7}$. This triangle is inscribed in rectangle $AQRS$ with $B$ on $\overline{QR}$ and $C$ on $\overline{RS}$. Find the maximum possible area of $AQRS$.
If $AB$ makes angle $\theta$ with $AQ$, then $AQ=35\cos\theta$ and $AS=28\sin(\theta+A)$.
The area $980\cos\theta\sin(\theta+A)=490\bigl(\sin(2\theta+A)+\sin A\bigr)$ is at most $490\left(1+\frac27\right)=630$, with equality at $\theta=\frac{90^\circ-A}2$, where $\tan\theta=\frac{1-\sin A}{\cos A}=\frac{\sqrt5}3$.
This configuration is valid: there $\theta+A=90^\circ-\theta$, so $B$ is on $\overline{QR}$ ($35\sin\theta\le28\cos\theta$) and $C$ is on $\overline{RS}$ ($28\sin\theta\le35\cos\theta$), because $\tan\theta=\frac{\sqrt5}3<\frac45$.