Compose musical pieces adhering to the prearranged pattern, utilizing the provided motif.
X:1
L:1/8
M:2/2
K:Dmix
['d>(A-AB) (c>dB)A G>(E-EB) c2 (Bc) d>(A-AB) c>dBA', 'a>baf (e>de)f g2'  
X:1
L:1/8
M:2/2
K:Dmix
 d>(A-AB) (c>dB)A | G>(E-EB) c2 (Bc) | d>(A-AB) c>dBA | (GEc)E (ED) D2 :| d>(f-fa) a>baf | 
 (e>de)f g2 (fe) | d>(f-fa) a>baf | d>(faf) e2 e2 | d(f-fa) a>baf | (e>de)f g2 (fg) | a>fge fded | 
 (cAG)E D2 D2 ||  