A car travels first 30km with a uniform speed of 60 km/h and then next 30 km with a uniform speed of 40 km/h. Calculate :(i) the total time of journey, (ii) the average speed of the car.