Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:4/4
K:C
['GBAG FGAG FDDc BGEF G2 (ef)', 'gfga bgeg'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:2/2][K:G]SOSOO .!fermata!PMTuCOMBGEF GBAG | FGAG FDDc | BGEF G2 (ef) | gefd Beed | 
 BGEF GBAG | FGAG FDDc | BGEF G2 (ef) |{a} gefd Beef || gfga bgeg | fgag fddf | gfga bgeg | 
 gefd Beef | gfga bgeg | fgag fd (3(def) | gabg fgaf | gfed Beed |]  