The perimeter of a rectangle is 18 meters. If the length of the rectangle is 6 meters, what is the width (in meters)?