Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
Q:1/4=110
M:2/4
K:G
['GDEG B>G B2 degB A>G E2 BDEG', 'G2 degd e>d B2 degB A>G E2']  
X:1
L:1/8
Q:1/4=110
M:2/4
K:G
 GDEG | B>G B2 | degB | A>G E2 | BDEG | B>GBd | G/G/G BG | A2 G2 :: degd | e>d B2 | degB | A>G E2 | 
 g>beg | de g2 | G/G/G BG | A2 G2 :|  