Write musical works that keep the predetermined structure and weave in the given motif
X:1
L:1/8
M:4/4
K:G
['(g2 g2) g2 ed eged edBG (A2', '(E2 E2) DE (G2 G2 G2) GABG'  
X:1
L:1/8
M:4/4
K:G
|: (g2 g2) g2 ed | eged edBG | (A2 A2) (B2 B2) | edBd edBd | (g2 g2) g2 ed | eged edBG | 
 (A2 A2) AGEG | ABBG BcBG :: (E2 E2) DE (G2 | G2 G2) GABG | ABdB AG (A2 | A2 A2) ABAG | 
 (E2 E2) DE (G2 | G2 G2) GABG | gfed ed (A2 | A2 A2) ABAG :|  