Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:4/4
K:G
['BG G2', 'bgag d=ffe fgfe d=f f2 afgf dggf']  
X:1
L:1/8
M:4/4
K:G
 BG G2 DG G2 | BG G2 cedc | BG G2 DGBG | A=F F2 =fdcA | BG G2 DG G2 | BG G2 cedc |1 B2 G=F DEFG | 
 A=F F2 =fdcA :|2 BABc dgfd | cAFA dBcA |] dggf gagf | dg g2 bgag | d=ffe fgfe | d=f f2 afgf | 
 dggf gagf | dg g2 ag g2 | bg g2 afde | fgag fdcA :|  