Sophia and Emma are training for a half-marathon. Sophia runs at a constant speed and completes the course in 2 hours. Emma takes 3 hours to complete the same course. If Sophia runs at a speed of 6 miles per hour, what is Emma's running speed in miles per hour? Let's think step by step and output the final answer within \boxed{}.
user