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

`x =`  

Get help: