Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:6/8
K:G
['A B2 B BAB d2 c A2', 'g f2 d'  
X:1
L:1/8
M:6/8
K:G
 A | B2 B BAB | d2 c A2 F | G2 G GFG | BAG A2 B | c2 c cBc | e2 d B2 c | ded cAF | G3 G2 :: g | 
 f2 d def | gfg a2 g | f2 d ded | c2 A A2 g | f2 d def | gfg a2 g | f2 d ed^c |1 d3 d2 :|2 d3 c2 ||  