Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:4/4
K:D
['', 'dB AFEG FDDF AFFA BcdB AFEG FDDc', 'd2 dffd ceec dffe f2']  
X:1
L:1/8
M:4/4
K:D
 dB |: AFEG FDDF | AFFA BcdB | AFEG FDDc | dBcA B2 d2 :| dffd ceec | dffe f2 gf | dffd ceeg | 
 fdcA B2 d2 | dffd ceec | dffe f2 ag | fdec dBcA | (3Bcd cA B2 d2 ||  