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
['D2 FD FA A2 BcBA FABc dedB', 'faab afdf gefd edBc dedB']  
X:1
L:1/8
M:4/4
K:D
 D2 FD FA A2 | BcBA FABc | dedB ABde | f2 ed fe e2 | D2 FD FA A2 | BcBA FABc | dedB ABdB | 
 AFEG FD D2 :| faab afdf | gefd edBc | dedB ABde | f2 ed fe e2 | faab afdf | gefd edBc | 
 dedB ABdB | AFEG FD D2 :|  