NEW YORK - The average retail price of a gallon of gasoline in the United States cost about 6.5 cents more last week , rising for the first time since early July on the back of higher crude oil prices , an industry analyst said on Sunday .