Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:G
['G3 B d3 B cBcd efge d2', 'G2 (3Bcd gfgd ed^ce dfab adfa bagf'  
X:1
L:1/8
M:4/4
K:G
 (3DEF | G3 B d3 B | cBcd efge | d2 BG dGBG | FDAD BDAD | G3 B d3 B | cBcd efge | d2 (3gfe dcBA | 
 (3GAG FA G2 :: (3Bcd | gfgd ed^ce | dfab adfa | bagf gdBG | FDAD BDAD | G3 B d3 B | cBcd efge | 
 d2 (3gfe dcBA | (3GAG FA G2 :|  