Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:D
['d2 d>e f2 f>e d>cd>A F2 B2', 'f>ga>g f2 fe d>cd>A'  
X:1
L:1/8
M:4/4
K:D
 A | d2 d>e f2 f>e | d>cd>A F2 B2 | A>BA>F D2 F>G | A>BA>G F2 A2 | d2 d>e f2 f>e | d>cd>A F2 B2 | 
 A>BA>F G>F E2 | D2 F>ED :: f | f>ga>g f2 fe | d>cd>A F2- F2 | g2 g2 B2 c>e | f>ef>e A2 f2 | 
 f>ga>g f2 fe | d>cd>A F2 B2 | A>BA>FG>F E2 | D2 F>E D3 :|  