Find the length of the leg x

20x12[Graphs generated by this script: initPicture(-3,16+3,-3,16+3);path([[0,0],[12,0],[0,16],[0,0]]);text([6,8.25],'20','right');text([0,16/2],'x','left');text([12/2,0],'12','below');]

x =