A rectangular garden measures 12 meters in length and 8 meters in width. A uniform pathway of width $x$ meters surrounds the garden. The total area of the garden and the pathway combined is 256 square meters. What is the width $x$ of the pathway?