Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:6/8
K:D
['B,EE EFA BdB AFE DD/D/D FEF AFD', 'EE/F/E ded DD/E/D FEF AFD GFG AGA']  
X:1
L:1/8
M:6/8
K:D
 B,EE EFA | BdB AFE | DD/D/D FEF | AFD FED | EFE EFA | BAB def | edB AF/G/A |1 BGE E2 B, :|2 
 BGE EB/c/d || efe EE/F/E | efe EE/F/E | ded DD/E/D | FEF AFD | GFG AGA | BAB def | edB AF/G/A |1 
 BGE EB/c/d :|2 BGE E3 ||  