A certain field is a rectangle with a perimeter of 1008 feet. the length is 166 feet more than the width. find the width and length of the rectangular field.