The length of a rectangle is 3 yards less than 5 times the width. If the perimeter is 102 yards, find the length and the width of the rectangle.