How can one build bicep and tricep muscles with dumbells?

Alternating motions. Always work biceps and triceps on the same day alternating. I would recommend including the shoulder since this links to the arms. Do triceps extensions and dumbbell curls. Make sure to do a thorough warm up so you don't hurt your rotator cuff or other joints.