Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:4/4
K:D
['A>G F>AD>D D>FD>D C>DE>F G2 F>E F>AB>c', 'd>fe>d e>dc>d e>fg>e f>de>c d>fe>d c2 A2'  
X:1
L:1/8
M:4/4
K:D
 A>G | F>AD>D D>FD>D | C>DE>F G2 F>E | F>AB>c d>AB>G |1,3 F2 E2 E2 :|2,4 F2 D2 D2 :: c2 | 
 d>AF>A d>fe>d | e>dc>d e>fg>e | f>de>c d>fe>d | c2 A2 A2 d>c | B>AG>A d>fe>d | e>dc>A B>AG>F | 
 G>AB>c d>AB>G | F2 D2 D2 :|  