A rancher wants to fence in an area of 1,000,000 square feet in a rectangular field and then divide it in half with a fence down
the middle parallel to one side. Find a function that models the amount of fencing in terms of the width of the field, w, where w is the measurement of the fence down the middle of the field.