Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:9/8
K:Amix
['c2 A AcA', 'gBB c2 e'  
X:1
L:1/8
M:9/8
K:Amix
 c2 A AcA AcA | c2 A AcA BGB | c2 A AcA AcA | BGB Baf gBB :| c2 e eaf ecA | c2 A Aaf{f} gBB | 
 c2 e eae cAc | BGB Baf gBB :|  