a constant distance from a to b is covered by a man at 40 km/hr. the person rides back the same distance at 30 km/hr. find his average speed during the whole journey.