setting size of selected face

i'm new to maxscript and trying to figure out how to adjust the size and shape of a selected quad in edit poly to a square with specific dimensions. Are there any ideas of how to go about doing this? would it involve getting the position of each individual vert and changing each edge length individually? or is there a polyop that can be used to set the area of the quad? sorry if this has been asked before but i couldn't find any posts on face size or edge length.