Perimeter formula for a rectangle is P = 2x +2y. The "x" represents the length of a rectangle and the "y" represents the width of a rectangle. To compute an area for a rectangle simply multiply the length by the width of that rectangle. The formula is A=lw.