Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/16
M:2/4
K:D
['defg aba_a gafa fedc', 'BAc2 A,ECE A2>c2 BAc2'  
X:1
L:1/16
M:2/4
K:D
 A2 | defg aba_a | gafa fedc | defg afdf | edcB A2>A2 | defg aba_a | gafa fedc | dAFD GBAG2 | 
 FDEC D2 :: A2>B2 BAc2 | A,ECE A2>c2 | BAc2 A,ECE | A2>c2 BAc2 | efed cABA |1 EFAB A4 :|2 
 EFAB A2 ||  