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,18+10,-10,20+10);path([[0,0],[0,20],[7,20],[7,4],[18,4],[18,0],[0,0]]);text([0,10],'20x','left');text([3.5,20],'7x','above');text([18,2],'4x','right');text([9,0],'18x','below');text([3.5+2.1,20+5.25],'2','below');text([9+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..]