Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/16
M:4/4
K:G
['g2G2g2g2 g2g2 g2fe d2d2d2^d2 e2E2 E4 c2e2', 'd2cB c2cd e2fg a2A2 A4 gbag fagf'  
X:1
L:1/16
M:4/4
K:G
 g2G2g2g2 g2g2 g2fe | d2d2d2^d2 e2E2 E4 | c2e2 e2dc B2d2 d2cB |{c} B2AG D2EF G4 [G,G]4 :: 
 B2d2d2d2 d2d2 d2cB | c2cd e2fg a2A2 A4 | gbag fagf egfe dedc | BdcB AcBA G4 [G,G]4 :|  