Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:2/2
K:G
['A2 AB', 'f2 fd'  
X:1
L:1/8
M:2/2
K:G
 A2 AB AFDF | BcBA B2 d2 | A2 AB AFDf | gfed B2 d2 :| f2 fd g2 ge | f2 fd B2 d2 | f2 fd g2 ge | 
 aged B2 d2 | f2 fd g2 ge | f2 fd e3 z | defg abaf | gfed BcdB ||  