Create a musical composition following the given alphabetical pattern and incorporating the provided motif.
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
['defd g2 f2', 'dg (3(faf)']  
X:1
L:1/8
Q:1/2=90
M:4/4
K:D
 A | defd g2 f2 | eAAB =c2 BA | defd g2 f2 | eAAc d2 z || g | (3(faf) dg (3(faf) df | eAAB =c2 cg | 
 (3(faf) dg (3(faf) df | eAAc d2 dg | (3(faf) dg (3(faf) df | eAAB =c2 cg | afge fdec | dgfe d3 |]  