Instructions: The task is to generate the correct answer for a given math problem.
Input: Problem: aaron will jog from home at 2 miles per hour and then walk back home by the same route at 4 miles per hour . how many miles from home can aaron jog so that he spends a total of 3 hours jogging and walking ?
Output:
3