A 10 gal tank is very small, you can build a filter for it but it might cost you just about the same as a filter from petsmart or petco. They have small filters that cost $20 or less.
A diy filter is USUALLY for much larger tanks, especially as the water flow increases and as the price of filters drastically increase with the water flow.
Sent from my SM-N900V using Aquarium Advice mobile app