Geometric Design of Print-and-Fold Robots via Composition