Jane and Mike are painting a fence together. Jane can paint the entire fence by herself in 6 hours, while Mike can do it in 9 hours. If they work together, how long will it take them to paint the entire fence? Let's think step by step and output the final answer within \boxed{}.
user