A motorcycle covers 50 km at a speed of 25 km/h. Find the speed of the motorcycle for the next 50 km of the journey so that the average speed of the whole journey will be 30 km/h.