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/2
K:G
['d2 dc BGGB cBAG FDDd BGGB cAAg', 'd2 FDDA BGGB ceed cAAg fddf ecce']  
X:1
L:1/8
M:2/2
K:G
 d2 dc BGGB | cBAG FDDd | BGGB cAAg | fde^c d2 d2 || FDDA BGGB | ceed cAAg | fddf ecce | 
 dBcA G2 G2 :|  