[Graphs generated by this script: initPicture(-2,6,-1,5.2);path([[0,0],[5,0],[0,5],[0,0]]);path([[0,.5],[.5,.5],[.5,0]]);text([2.5,0],"a","below");text([3.5,.5],"45 °");text([3.1,3],"8.1 in")]

What is the length of the leg?   in

Hint: