Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:6/8
K:G
['A2 d/c/ BGA B2', 'G2 g eeg def gfe edB d>ed'  
X:1
L:1/8
M:6/8
K:G
 D | D>EG ABd | e>dB{B} A2 d/c/ | BGA B2 A | BGG G2 G/E/ | D>EG ABd | egB{B} A2 d/c/ | 
 BGA B2 A/A/ | BGG G2 || g | eeg def | gfe edB | d>ed d>ef | gfe{e} d2 B | c>Bc def | gdB{B} A2 f | 
 gGA B2 A | BGG G2 ||  