Are you doing this in Nemeth or strictly using UEB? If in Nemeth, the begin Nemeth indicator would precede the first paren and follow the word rectangle - and 'width', 'length', 'perimeter' and 'of' would be uncontracted. If you are using just UEB, then contractions can be used in all the words.
Cindi