Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:G
['B>dG>B c>AF>A a>f (3gfe d>cB>A B>dG>B c>B', 'G2 d2 g2 (3fgf e2 d>B (3cBA'  
X:1
L:1/8
M:4/4
K:G
 B>dG>B c>AF>A | a>f (3gfe d>cB>A | B>dG>B c>B (3BAG | F>Ad>^c e>d (3=cBA | (3BdB G>B (3cdc F>A | 
 a2 (3gfe (3ded (3cBA | B2 (3dBG c>A (3FGA | G2 (3ggg G2 :| d2 g2 (3fgf e2 | 
 d>B (3cBA (3GAG (3FED | E>ed>c B>AG>F | A>F (3GFE D2 B>c | d>Gg>G f>Ge>G | (3ded c>A (3BAG (3FED | 
 E2 e>c B>A (3AGF | A2 G2 G2 :|  