Create musical pieces that follow the designated structure and incorporate the provided musical motif.
X:1
L:1/8
Q:1/4=240
M:2/2
K:G
['d4 A4 ABAF G4 d2 d2 A4', 'B2 G2'  
X:1
L:1/8
Q:1/4=240
M:2/2
K:G
 d4 A4 | ABAF G4 | d2 d2 A4 | ABAF G4 :: A2 c2 B2 G2 | ABcA B2 G2 | A2 c2 B2 G2 | FGAF G4 :|  