i think you will need two pipes, one pipe brings the water to the 10 gallon, the other pipe brings it from the 10 gallon, otherwise the wavemaker/powerhead will take the water out of the 20 and put it in the 10 which will fill up the 10 gallon fast. Place a powerhead one each pipe one heading out in a separate direction.