Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:2/4
K:D
['A (dc).d.A BGAF Ddfd (ce).A.c (dc).d.A fafd', 'D f edce f(dd)f e>dcB cd/e/ Ad']  
X:1
L:1/8
M:2/4
K:D
 A | (dc).d.A | BGAF | Ddfd | (ce).A.c | (dc).d.A | fafd | Bedc | d2 D :| f | edce | f(dd)f | 
 e>dcB | cd/e/ Ad | edce | fddf | e>dcB | c(AA)B | dcdA | BGAF | Ddfd | ceAd | dcdA | GBAc | Bedc | 
 d2 d ||  