Francesco Totti ended a bad week on a high on Sunday by scoring two late goals to give Roma a 2-1 win over Cagliari and take their Serie A title battle with Inter Milan down to the final day of the season.