Manchester City had to survive a Brentford onslaught in the second half but came away with three points in the Premier League