Instructions: The task is to generate the correct answer for a given math problem.
Input: Problem: a man whose speed is 4.5 kmph in still water rows to a certain upstream point and back to the starting point in a river which flows at 0.5 kmph , find his average speed for the total journey ?
Output:
3.1