The formulas for the perimeter and area of a square may be derived from the corresponding formulas for a rectangle because, like rectangles, squares are quadrilaterals, therefore sharing the same formal characteristics as a rectangle. They both contain a pair of lengths and a pair of widths, giving us 2-dimensional figures on a plane.