Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
M:2/2
K:D
['d e', 'd e/f/ g e f d c'  
X:1
L:1/4
M:2/2
K:D
 a3/2 f/ | g e/g/ f d | e d e a | d d d e/f/ | g e f d | e d e a | d2 :: d e/f/ | g e f d | 
 c B A A | d d d e/f/ | g e f d | c B A a | d2 :|  