Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:6/8
K:G
['GBd gdB', 'GBd g3', 'a bgb afa geg fdf ed^c def'  
X:1
L:1/8
M:6/8
K:G
|: G3 BAB | GBd gdB | AFD cBA | GBd gdB | G3 B3 | GBd gdB | AFD cBA |1 BGG G2 D :|2 BGG GBd |: 
 g2 a f a2 | gdB GBd | gfe fed | e3 e d/e/f | gfe def | gfe dcB | AGF cBA |1 BGG GBd :|2 
 BGG G2 D |: GBd g3 | edc BcA | GBd g3 | e (3fga g2 a | bgb afa | geg fdf | ed^c def |1 
 gBd g2 d :|2 g b/a/g/f/ gdB ||  