The perimeter of a rectangle is 42 cm. The length is 3 cm greater than the width. Find the width and length