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
['d2 cA BF FE DE FD EA,', 'd2 dc df ed', 'ec d2 cA BF FE DE FD'  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
 (3(ABc) | d2 cA BF FE | DE FD EA, (3(A,G,A,) | DF Ac df ed | (3(cBA) Bc df ec | d2 cA BF FE | 
 DE FD EA, (3(A,G,A,) | DF Ac df ed | (3(cBA) Bc d2 (3(ABc) |: d2 dc df ed | c2 cB ce dc | 
 d2 dc df ed | ec Ac BA Bc | df af gf ed | Be ef ec Ac | de fd cd ec | BA Bc df ec :| d2 cA BF FE | 
 DE FD EA, (3(A,G,A,) | DF Ac df ed | (3(cBA) Bc df ec | d2 cA BF FE | DE FD EA, (3(A,G,A,) | 
 DF Ac df ed | (3(cBA) Bc d2 ||  