Manchester City have reached the knockout stages of the Uefa Cup, with a 4-2 penalty shoot-out win over FC Midtjylland taking them through after a 1-0 win in Denmark levelled the scores on aggregate.