>>614
a^2+b^2=l^2
x=a/2
y=b/2