Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:G
['G2 GD EGDg egdB', 'e2 ed efga'  
X:1
L:1/8
M:4/4
K:G
|: G2 GD EGDg | egdB AGED | G2 GD EGDg | egdB AB G2 :| e2 ed efga | bgag edBd | e2 ed efga | 
 gbag eg d2 | e2 ed efga | bgag edBA | G2 GD EGDg | egdB AB G2 ||  