Develop a musical composition centered around the provided motif while maintaining the appropriate form.
X:1
L:1/8
M:4/4
K:D
['a>g f>d d2 c>dA>G F>Ad>f g>ef>d', 'c>gg>f g>ec>d c>gg>f g2 a>g'  
X:1
L:1/8
M:4/4
K:D
|: a>g | f>d d2 c>dA>G | F>Ad>f g>ef>d | c>gg>f g>ec>d | c>gg>f g2 a>g | f>d d2 c>dA>G | 
 F>Ad>f g>ef>d | c>aa>f g>ec>d | e>dd>c d2 :: e>d | c>gg>f g>ec>d | c>gg>f g2 a>g | f>d d2 a>d d2 | 
 f>da>d f>da>d | c>gg>f g>ec>d | c>gg>f g2 a>g | f>ga>f g>ec>d | e>dd>c d2 :|  