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
['B2 eBdB', 'gede gaba']  
X:1
L:1/8
M:2/2
K:G
 Bd | eB B2 eBdB | AGAB GE D2 | GB B2 dB B2 | eBdB A2 Bd | eB B2 eBdB | AGAB GE D2 | GABd gedB | 
 AGAB G2 :| de | gede gaba | gfga gedB | dega bgag | eaag a2 ga | bgeg d2 ef | gede gaba | 
 g3 d egdB | AGAB G2 :|  