Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['cd ec', 'cd ec'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
|: AG | FE FG AF Dc | dB cd ec Ag | fd ge fd ec | (3(dcB) cd ec AG | FE FG AF Dc | dB cd ec Ag | 
 (3(faf) df (3(ege) ce | df ec d2 :: cd | ec Ac ef ge | af df bg eg | af df ge af | 
 (3(gfe) fd ec AG | FE FG AF Dc | dB cd ec Ag | (3(faf) df (3(ege) ce | df ec d2 :|  