Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:G
['d2 BG dGBd']  
X:1
L:1/8
M:4/4
K:G
|: d2 BG dGBd | G2 (3Bcd efge | d2 BG dGBd |1 ABcd edBe :|2 ABcd edBd ||  