Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
Q:1/4=120
M:2/4
K:C
['ec cc', 'Bd dd'  
X:1
L:1/8
Q:1/4=120
M:2/4
K:C
 g | ec cc | fd dd | ec cc | Bd dd | ec cc | fd dd | ec dB | c2 C :| c | Bd dd | gd dd | ed gf | 
 ec cc | Bd dd | fd fa | gf ed | c3 c | GE EE | cG GG | AF FF | Ac cc | GE EE | FD FA | GF ED | 
 C3 |]  