Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:D
['ag f2 af e2 de fA A2', 'fg a2 df afdB GBdG BGGB GBdG', 'a2 AdfA dfAd fA A2 BGGB GBdG', 'fg adda aAda AaaA BGGB'  
X:1
L:1/8
M:4/4
K:D
|: ag | f2 af e2 de | fA A2 BGGB | GBdG gfed | cdec A2 ag | f2 af e2 de | fA A2 BGGB | GBdG gfec | 
 Acec d2 :: fg | a2 df afdB | GBdG BGGB | GBdG gfed | cdec A2 fg | a2 df afdB | GBdG BGGB | 
 GBdG gfec | Acec d2 :: a2 | AdfA dfAd | fA A2 BGGB | GBdG gfed | cdec A2 a2 | AdfA dfAd | 
 fA A2 BGGB | GBdG gfec | Acec d2 :: fg | adda aAda | AaaA BGGB | BGdG gfed | cdec A2 fg | 
 adda aAda | AaaA BGGB | GBdG gfec | Acec d2 :|  