Question 909153
let a = shortest leg 
b= longer leg 
c = hypotenuse 

{{{a^2+b^2=c^2}}}
{{{b = 24 }}}
{{{c = 6 + 2a}}}

{{{a^2+(24)^2=(6+2a)^2}}}
{{{a^2+576=36+24a+4a^2}}}
{{{-3a^2-24a+540=0}}}
{{{-3(a^2+8a-180)=0}}}
{{{-3(a+18)(a-10)=0}}}
{{{a= -18}}} {{{or}}} {{{a=10}}} = {{{shortest leg}}}

{{{(-18)^2+24^2=(6+2(-18))^2}}}
{{{900=900}}}
{{{10^2+24^2=(6+2(10))^2}}}
{{{676=676}}}