How Man City were able to beat a spirited Crystal Palace