Stanley is building a rectangular fence with 44 feet of fencing. If the width is two less than half the length, what is the width of the fence? Write an equation and solve.