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