Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:2/4
K:G
['d/B/A/G/ g/f/e/f/', 'g>ef>d e>cd>B'  
X:1
L:1/8
M:2/4
K:G
 g | d/B/A/G/ TB2 | d/B/A/G/ g/f/e/f/ | gG TB2 | Gddg | d/B/A/G/ B2 | d/B/A/G/ g/f/e/f/ | gA Tc2 | 
 Aee :: f | g>ef>d | e>cd>B | gG TB2 | Bd de/f/ | g>ef>d | e>cd>B | gA Tc2 | Aee :|  