Enable text based alternatives for graph display and drawing entry

Try another version of this question

Find the perimeter of the figure pictured below.

[Graphs generated by this script: initPicture(-2,14,-2,14);path([[0,0],[0,9],[2,9],[2,3],[10,3],[10,0],[0,0]]);text([0,4.5],'9','left');text([1,9],'2','above');text([10,1.5],'3','right');text([5,0],'10','below');]

Perimeter:

Get help: