Task: Question Answering
Input (English): Problem: x and y are two towns . ganesh covers the distance from x to y at an average speed of 60 km / hr . however , he covers the distance from y to x at an average speed of 30 km / hr . his average speed during the whole journey in km / hr . is :
Output (English): 40