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,7],[2,7],[2,4],[9,4],[9,0],[0,0]]);text([0,3.5],'7','left');text([1,7],'2','above');text([9,2],'4','right');text([4.5,0],'9','below');]

Perimeter:

Get help: