Enable text based alternatives for graph display and drawing entry

Try another version of this question

Find the length of the hypotenuse `c`.

[Graphs generated by this script: initPicture(-1,11,0,3);stroke="black";path([[1,1],[10,1],[1,2],[1,1]]);text([1,1.5],"4",left);text([5,1.8],"c");text([5,0.8],"8");stroke="black";path([[1,1],[1.5,1],[1.5,1.25],[1,1.25],[1,1]]);]

`m` (If needed, round to 2 decimal places.)