The car will have covered twice as much distance in the first hour as it did in the second. So for a cop at a random spot there’s a 2/3 chance the car will be going 60.
Expected value - I’m winging the calculation here, but is it (60 x 2) + (30 x 1) = 150, and 150/3 = 50mph? Or is this nonsense?
I would think the median and mode would also be the same, given a reasonable reading of the problem, which I take to be “for a cop likely to be standing at any point along the route with equal probability”.
Though, sure, I would say it is a mild weakness in the problem statement that it is necessary for the reader to make such an assumption rather than have it explicitly stated.
There is an arbitrary number of spaces that the cop could be standing on the road. On 2/3 of them, the driver is going at 60 mph, and at 1/3, the driver is going at 30 mph. If you list each of those spaces as a separate instance, the most common speed value, the mode, is 60 mph. If you list them in order from lowest to highest, the middle value, the median, is also 60 mph.
If the cop times the value from the start to the end then 45MPH is the expected value. Otherwise it’s anywhere between the maximum reverse speed and the maximum forward speed the car is capable of travelling.
ETA: You did specify the operating speed of the car for each mile so unless the cop measures a time span that crosses the midpoint then it’s either 30MPH or 60MPH. If the time span measured crosses the midpoint it’s somewhere between 30MPH and 60MPH. The question also assumes the car can immediately deaccelerate from 60MPH to 30MPH at the midpoint.