Calculate the perimeter of a rectangle.
Perimeter is the total distance around the outside of a shape — for a rectangle, twice the sum of its width and height.
perimeter = 2 × (width + height)