Question 1000589
x and 49-x are the legs. 
============
{{{x^2 + (49-x)^2 = 41^2 = 1681}}}
{{{2x^2 - 98x + 2401 = 1681}}}
{{{2x^2 - 98x + 720 = 0}}}
{{{x^2 - 49x + 360 = 0}}}
(x-9)*(x-40) = 0
Sides are 9 & 40
============