Terps use balanced effort to take down Duke