Enable text based alternatives for graph display and drawing entry

Try another version of this question

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,10.25,-0.25,5.25);stroke="black";fill="white";rect([0,0],[5,5]);fill="white";rect([5,0],[10,5]);]

Perimeter = in.
Area = sq. in.