A fence is being built around a rectangular garden. The length of the garden is 50 feet, and the total fencing used to enclose the garden measures 250 feet. Determine the equation to find the width, w, of the garden, in feet.