The perimeter of a rectangle is 24 ft. The length is is 2 ft. longer than the width. What is the width and length?