Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
Q:3/4=50
M:3/4
K:G
['B3 A G2 GDGB d2', 'g2 gGce d2 dGBd c2', 'A>DF>Ac>A B>DG>Bd>B'  
X:1
L:1/8
Q:3/4=50
M:3/4
K:G
 D2 | B3 A G2 | GDGB d2 | c3 B A2 | ADFA c2 | B3 A G2 | GDGB d2 | ed^cd=cA | G4 :: d2 | g2 gGce | 
 d2 dGBd | c2 cDFA | G3 GBd | g2 gGce | d2 dGBd | c2 cDFA | G4 :: B2 | A>DF>Ac>A | B>DG>Bd>B | 
 A>DF>Ac>A | B>DG>Bd>B | g2 gGce | d2 dGBd | c2 cDFA | G4 :|  