Matthew is a pilot of a small plane. He flew 3,140 miles last week. It took him a total of 10 hours to fly this distance. Write and solve an equation to find Matthew's average speed in miles per hour. Then find the number of miles he will be able to fly in 25 hours.