Alright, lets gets started.
If water enters through a pipe alone, swimming pool can be filled in 12 hr.
Or say, in 12 hrs, swimming pool can be filled with help of pipe.
It means in 1 hr, the part of swimming pool filled = [tex] \frac{1}{12} [/tex] (For pipe only)
Similarly, with hose only, , in 1 hr, the part of swimming pool filled = [tex] \frac{1}{30} [/tex]
So, water is coming from both, pipe and hose , then in 1 hr, the part of pool filled will be = [tex] \frac{1}{12} + \frac{1}{30} [/tex]
Suppose in x hrs, with both supplies, pipe and hose, pool is filled.
Means
[tex] \frac{1}{12} + \frac{1}{30} = \frac{1}{x} [/tex]
making common denominator
[tex] \frac{30}{360} + \frac{12}{360} = \frac{1}{x} [/tex]
[tex] \frac{30 + 12}{360} = \frac{1}{x} [/tex]
[tex] \frac{42}{360} = \frac{1}{x} [/tex]
Flipping
[tex] \frac{360}{42} = x [/tex]
[tex] x = \frac{60}{7} [/tex]
Means 8.57 hrs : Answer
Hope it will help :)