The two inlet pipes can fill the tank in 4 hours and 10 hours.
The work done by the inlet pipes per hour is calculated to be:
The outlet pipe drains the tank in 2 hours. The work done will be:
Therefore, if both inlet pipes and the outlet pipes are opened at the same time, the work done by the pipes combined will be:
Since the work done to fill the tank is negative, it means that the tank will never get full as it empties faster than it fills up.