The perimeter of a rectangular slab of concrete is 24 meters. If the length of the rectangular slab is 2 meters longer than its width, what is the width of the slab?