To find the speed, you're going to find the miles per hour. So, you divide the total amount of miles traveled by the time it took to travel those miles.
1200/30
Now you have a fraction. But, this fraction can be reduced, so now we have to reduce it. Both the denominator and the numerator can be divided by 30.
40/1
So, your answer is forty miles per hour.