I need help with this. I don't see this.

An inlet pipe provides 4 gal/min more than a second pipe and 6gal.min less than a third pipe. Together they supply 50 gal/min. How much does each provide??

Please explain how you came up with the equation to solve.

Thanks

Joanne