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