Let t be the time it takes Rosa to clean the garage.
We know that Jim takes two times as long this means that Jim takes 2t to clean the garage.
Now Rosa's rate is given by the amount of garages she cleans divided by the time it takes this means that her rate is 1/t.
Similarly Jim's rate is 1/2t.
We know that working together they take 8 hours, thant their rate together is 1/8.
Therefore we have the equation:
Solving for t we have:
Since they can't do it in zero hours we conclude that it takes Rosa 12 hours to clean the garage and it takes Jim 24 hours to clean the grarage.