A van travels from Newcastle to South Shields at an average speed of $30$ mph and returns by the same route at an average speed of $40$ mph. What is the van's average speed for the whole journey?