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:G
['gdB BAB', 'gfg bge']  
X:1
L:1/8
M:6/8
K:G
|: f | gdB BAB | GBA GBd | gdB BAB | GBd e2 f | gdB BAB | GBA GBd | gfe fdB | ABd e2 :: f | 
 gfg bge | fef afd | gfg bge | edB GBd | gfg bge | fef afd | gfe fdB | ABd e2 :|  