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>A B>GD>B, C>EA>B c>AF>D', 'g>a b>ge>g'  
X:1
L:1/8
M:4/4
K:G
|: D>C | B,>DG>A B>GD>B, | C>EA>B c>AF>D | B,>DG>A B>Gc>B | (3ABA (3GFE (3DED (3CB,A, | 
 B,>DG>A B>GD>B, | C>EA>B c>AF>D | B,>DG>B A>DE>F | G2 B2 G2 :: g>a | b>ge>g d>gB>g | 
 d>gB>g d>gB>g | b>g (3efg d>gB>g | e>a{b}a>g a2 g>a | b>ge>g d>gB>d | c>BA>B c>de>g | 
 g>dB>G E>cA>F | G2 B2 G2 :|  