Roddy Gayle Jr. scored 12 points and Tre Donaldson made two free throws with four seconds left to give No. 15 Michigan a 49-46 win over Nebraska.