Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:3/4
K:G
['AA c2 A2 GB']  
X:1
L:1/8
M:3/4
K:G
 GB d3 B | dddBcA | FA c3 A | GBBdBG | AA c2 A2 | GB d4 | AA c2 A2 | GB G4 |]  