Explanation:
average speed = total distance travelled / total time travelled
time to travel the first 6km: 6 / 50 = 3/25 (h)
time to travel the next 6km: 6 / 90 = 1/15 (h)
[I think there's problem in the question 'cause 900km/h sounds impossible for normal person to travel in normal condition]
The total time: 3/25 + 1/15 = 14/75 (h)
Average speed over the 12 km drive will be:
[tex] \frac{12}{ \frac{14}{75} } = \frac{450}{7} = 64.3 \: km{h}^{ - 1} [/tex]