Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/4
M:2/4
K:G
['G G B B A/A/ A G']  
X:1
L:1/4
M:2/4
K:G
 G G | B B | A/A/ A | G D | G2 | B2 | A A | G2 |]  