The average speed is defined as:
[tex]v=\frac{d}{t}[/tex]Then for the first 30 km it took:
[tex]t=\frac{30}{54}=0.556[/tex]hours.
The second distance of 50 km took:
[tex]t=\frac{50}{90}=0.556[/tex]Therefore the average speed is:
[tex]v=\frac{30+50}{0.556+0.556}=72[/tex]72 km/h.