Use formulas for rectangles

~10 min

For rectangles, area = length × width and perimeter = 2 × length + 2 × width.