Enable text based alternatives for graph display and drawing entry

Try another version of this question

Find the length of the leg `x` on the right triangle below. Enter the exact value, not a decimal approximation.

[Graphs generated by this script: initPicture(-3,9.3808315196469+3,-3,9.3808315196469+3);path([[0,0],[9,0],[0,9.3808315196469],[0,0]]);text([9/2,9.3808315196469/2],'13','right');text([0,9.3808315196469/2],'x','left');text([9/2,0],'9','below');]

`x =`  

Get help: