Emily has noticed that the speed at which she completes her homework is inversely related to the amount of time she spends on it. When she spends 2 hours on her homework, she completes it at a speed of 5 pages per hour. If she wants to complete her homework at an average speed of 4 pages per hour over two days, how much time should she spend on her homework on the second day? Let's think step by step and output the final answer within \boxed{}.
user