Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
M:4/4
K:G
['GDB,D G,B,DG BGAB cd (3efg afge', 'BcBA GABc d^cde defg', 'Beef e^def gebe geag'  
X:1
L:1/8
M:4/4
K:G
 (3DEF | GDB,D G,B,DG | BGAB cd (3efg | afge dB B2 | (3cBA BG AGEF | GDB,D G,B,DG | BGAB cd (3efg | 
 afge dgec | BGAF G2 :: GA | BcBA GABc | d^cde defg | BcBA GBdB | cBAG FGAc | BcBA GABc | 
 d^cde defg | af (3gfe dgec | BGAF G2 :: A2 | Beef e^def | gebe geag | fdd^c defg | af (3gfe dcBA | 
 Beef e^def | gebe geag | fd (3d^cd edB^c | dBAF E2 :|  