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.

15x6[Graphs generated by this script: initPicture(-3,13.747727084868+3,-3,13.747727084868+3);path([[0,0],[6,0],[0,13.747727084868],[0,0]]);text([6/2,13.747727084868/2],'15','right');text([0,13.747727084868/2],'x','left');text([6/2,0],'6','below');]

`x =`  

Get help: