Enable text based alternatives for graph display and drawing entry

Try another version of this question

Find the unknown lengths for the similar triangles below.

[Graphs generated by this script: initPicture(-1,11,0,2.25);stroke="black";path([[1,1],[10,1],[3,2],[1,1]]);text([2,1.5],"3.5 m",left);text([6.75,1.8],"9 m");text([5,0.8],"10.5 m");] [Graphs generated by this script: initPicture(-1,11,0,2.25);stroke="black";path([[1,1],[10,1],[3,2],[1,1]]);text([2,1.5],"4.9 m",left);text([6,1.8],"x");text([5,0.85],"y");]

m (If needed, round to 2 decimal place.)

m (If needed, round to 2 decimal place.)

Get help: