Enable text based alternatives for graph display and drawing entry

Try another version of this question

Write the polynomial that represents the perimeter of the figure pictured below.

[Graphs generated by this script: initPicture(-10,16+10,-10,13+10);path([[0,0],[0,13],[5,13],[5,2],[16,2],[16,0],[0,0]]);text([0,6.5],'13x','left');text([2.5,13],'5x','above');text([16,1],'2x','right');text([8,0],'16x','below');text([2.5+2.1,13+5.25],'2','below');text([8+2.9,.5],'2','below');]

Perimeter =  

X
MathQuill
   x  x    n  |   | (   ) π DNE
   x    (   ) π DNE
( ) ( ] [ ) [ ] —∞ DNE
< > or All Real Numbers DNE
log logn ln n  | | e 
sin cos tan arcsin arccos arctan  
[more..]