Example 2 - Geometrical approach
Solution with TI-Nspire™
Short      Long      Short      Long
Solution with GEOGEBRA
See here .
Other approaches