To determine the number of tons of hay, Mustafa should divide the total pounds of hay his horse ate by the number of pounds in a ton. Since there are 2,000 pounds in a ton, he can find the number of tons by dividing 6,400 by 2,000.
So, the correct answer is: by dividing 6,400 by 2,000.