Enable text based alternatives for graph display and drawing entry

Try another version of this question

Question 1
If each square in the image is one inch per side, calculate the perimeter and area of the figure.
[Graphs generated by this script: setBorder(0); initPicture(-0.25,20.25,-0.25,5.25);stroke="black";fill="white";rect([0,0],[5,5]);fill="white";rect([5,0],[10,5]);fill="white";rect([10,0],[15,5]);fill="white";rect([15,0],[20,5]);]

Perimeter = in.
Area = sq. in.