Compose a piece using the specified musical pattern based on the alphabet notation and provided melodic motif.
X:1
L:1/8
M:4/4
K:D
['e aAAB (AF) A2 ABde faef dBBd', 'defd efge']  
X:1
L:1/8
M:4/4
K:D
 e | aAAB (AF) A2 | ABde faef | dBBd (BA) B2 | (AB).d.e (gf)(ef) :| defd efge | defd e2 (dB) | 
 (de).f.d (ef).g.e | aA A/A/A gfef | (de).f.d (ef).g.e | (de).f.a (ea).c.A | defd efge | 
 (ab).a.g (fg).e.f |]  