Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:2/2
K:D
['EA, A,2', 'fddc dfaf edcd efge'  
X:1
L:1/8
M:2/2
K:D
 F2 AF DEFD | EA, A,2 EA, A,2 | F2 AF DEFA | (3Bcd ec dBAG | FGAF DEFD | EA, A,2 EA, A,2 | 
 FGAF DEFA | (3Bcd ec d2 || de | fddc dfaf | edcd efge | fddc dfag | (3fga eg fd d2 | fddc dfaf | 
 edcd efge | dfaf g2 ag | (3fga ec dBAG |]  