The length of a rectangle is 4 cm longer than its width.

If the perimeter of the rectangle is 52 cm, find its length and width.