Enable text based alternatives for graph display and drawing entry

Try another version of this question

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

[Graphs generated by this script: initPicture(-10,20+10,-10,14+10);path([[0,0],[0,14],[4,14],[4,7],[20,7],[20,0],[0,0]]);text([0,7],'14x','left');text([2,14],'4x','above');text([20,3.5],'7x','right');text([10,0],'20x','below');text([2+2.1,14+5.25],'2','below');text([10+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..]