We can use the formula:
time = volume / rate
where time is the time it takes to fill the tank, volume is the volume of the tank, and rate is the rate at which water flows into the tank.
The rate of the first pipe is 6000/50 = 120 liters per minute.
The rate of the second pipe is 6000/75 = 80 liters per minute.
When both pipes are working together, their rates add up, so the combined rate is:
120 + 80 = 200 liters per minute.
Using the same formula as above, we can solve for the time it takes both pipes to fill the tank:
time = 6000 / 200 = 30 minutes.
Therefore, it would take both pipes 30 minutes to fill the tank when working together.