Speed = Distance / Time
Given that the distance between San Francisco and Buffalo is 3060 miles and the flight time is 5 hours, we can calculate the speed as follows:
Speed = 3060 miles / 5 hours = 612 miles per hour
Therefore, the average speed of the plane is 612 miles per hour.