Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:D
['d>B (3BBB', 'g>fe>d (3Bcd e>f'  
X:1
L:1/8
M:4/4
K:D
|: (3AGF | D2 D>F A>DF>A | d>fe>d B>^AB>c | d>B (3BBB d>B (3BBB | (3AAA D>E F>E (3EEE | 
 D>A (3DEF A>D (3FGA | d>ce>d B3 c | d>BF>A d>BA>F | A>D (3EFG F>D :: D>c | d>cd>e f>ef>g | 
 a>f (3def g>fe>d | (3Bcd e>f g>eB>e | g>eb>e g>fe>f | d2 d>e f2 f>g | a>fd>f g>fe>d | 
 (3Bcd e>f g>ba>g | f>de>c d>cd>e | f>de>c d3 e | f>de>d B3 c | d>B (3BBB d>BF>B | A>FD>E F>EA>F | 
 D2 D>F A>D (3FGA | d>fe>d B>^AB>c | (3dcd B>A d>BA>F | (3AGF E>G F>D :|  