Great problem. What you need to think about is how much water leaves each hose per hour.
The first hose would fill 1/18 of the pool in one hour, since it takes 18 hours to fill the whole pool.
The second hose would fill 1/14 of the pool in one hour.
Let's use the variable t for time in hours. The amount of water from hose 1 will be (1/18)(t), and the amount of water from hose 2 will be (1/14)(t). Both together will add up to 1 pool of water after the value for t which fills the pool.
So, t/18 + t/14 = 1
Solve for t. (we need a common denominator)
18 = 9(2) 14= 7(2) Lowest common denominator is 9(7)(2) = 126
7t/126 + 9t/126 = 1
16t/126 = 1
16t = 126
t = 7.875 hours or 7 hours, 52 minutes and 30 seconds
0.875 hours (60 minutes/hour) = 52.5 minutes