Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/4
M:3/4
K:G
['c c c/B/ A/G/ B']  
X:1
L:1/4
M:3/4
K:G
 d d d | d/B/ d e | c c c/B/ | A/G/ B G | A A c/D/ | F/G/ B d | c c c/B/ | A/G/ B G |]  