Compose melodies based on the specified pattern and provided motif.
X:1
L:1/16
M:2/4
K:G
['D2G2G2>A2 BcdB G4', 'd2g2 d4 B2d2 G4'  
X:1
L:1/16
M:2/4
K:G
 D2G2G2>A2 | BcdB G4 | B2B2 A4 | EFGE D4 | D2G2G2>A2 | BcdB G4 | BdBG AcAF | G2G2 G4 :: d2g2 d4 | 
 B2d2 G4 | B2B2 A4 | EFGE D4 | d2g2 d4 | B2d2 G4 | BdBG AcAF | G2G2 G4 :|  