Can someone pleace explain how to solve these problems?

The problem statement, all variables and given/known data

Sally can paint a room in 9 hours while it takes Steve 3 hours to paint the same room. How long would it take them to paint the room if they worked together?

The problem statement, all variables and given/known dataOne hose can fill a goldfish pond in 18 minutes, and two hoses can fill the same pond in 14 minutes. Find how long it takes the second hose alone to fill the pond.