The Gunners responded to their lacklustre defeat to Sunderland with a comfortable victory which secured safe passage into the last 16 at the top of Group H ahead of the final match against Olympiakos after first-half goals from Samir Nasri and Denilson .