If the perimeter of a rectangle is 54 yards and the length is 3 yards longer than the width, then what is the width?