Duane is making cookies. The recipe calls for two times as many cups of sugar as butter, two times as many cups of oats as sugar, and two times as many cups of flour as oats. If Duane puts in one cup of butter, how many cups of flour does he need to add?