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,13.228756555323+3,-3,13.228756555323+3);path([[0,0],[9,0],[0,13.228756555323],[0,0]]);text([9/2,13.228756555323/2],'16','right');text([0,13.228756555323/2],'x','left');text([9/2,0],'9','below');]

`x =`  

Get help: