Question 145993
L = 2W-2
{{{W^2 + (2W-2)^2 = 5^2}}}
{{{W^2 + (4W^2 -8W + 4) = 25}}}
{{{5W^2 -8W + 4 = 25}}}
{{{5W^2 -8W - 21 = 0}}}
*[invoke solve_quadratic_equation 5,-8,-21]
Ignore the negative length.
W = 3
L = 2*3 -2
L = 4