Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
Q:1/4=110
M:4/4
K:G
['B2 A>G d>Bd>e d2', 'ga bagf e2 ef g>ega g2 f2']  
X:1
L:1/8
Q:1/4=110
M:4/4
K:G
 G>A |"^NB1" BA>Bd B2 A>G | d>Bd>e d2 ge | e>deg dBAG | A4 z2 G>A | B>AB>d B2 A>G | d>Bd>e d2 gf | 
 e>de>f g3/2{g}ba>g |"^NB1" g6 :: f>g | a>ga>b a2 ga | bagf e2 ef | g>ega g2 f2 | e6 e/f/g | 
 dBAG Bdeg | dBAG E2 b>a | gfe{f}g dBA>B | G6 :|  