Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:6/8
K:G
['dBd dBd', 'G3 afd d^cd afd d2 =c Bdg'  
X:1
L:1/8
M:6/8
K:G
 GBd dBd | dBd dBd | dgb dcB | cAA A3 | GBd dBd | dBd dBd | gb z Ac z | BGG G3 :: afd d^cd | 
 afd d2 =c | Bdg dcB | cAA A2 c | B2 d g2 a | bag fed | gb z Ac z | BGG G3 :|  