.
The hose adds of the tank volume each hour.
The draining pipe drains of the tank volume each hour.
The net water balance is positive - = - = of the tank volume in hour.
Therefore, it will take 24 hours to fill the tank if both tubes are turned on.
---------------
It is a typical joint work problem.
There is a wide variety of similar solved joint-work problems with detailed explanations in this site. See the lessons
- Using Fractions to solve word problems on joint work
- Solving more complicated word problems on joint work
- Selected joint-work word problems from the archive
Read them and get be trained in solving joint-work problems.
Also, you have this free of charge online textbook in ALGEBRA-I in this site
- ALGEBRA-I - YOUR ONLINE TEXTBOOK.
The referred lessons are the part of this textbook under the topic
"Rate of work and joint work problems" of the section "Word problems".
Save the link to this online textbook together with its description
Free of charge online textbook in ALGEBRA-I
https://www.algebra.com/algebra/homework/quadratic/lessons/ALGEBRA-I-YOUR-ONLINE-TEXTBOOK.lesson
to your archive and use it when it is needed.