Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/4
Q:1/4=88
M:3/4
K:D
['d e', 'a a'  
X:1
L:1/4
Q:1/4=88
M:3/4
K:D
|:"^Andante" d d e | c3/2 d/ e | f f g | f3/2 e/ d | e d c | d3 :| a a a | a3/2 g/ f | g g g | 
{a} g3/2 f/ e | f g/f/e/d/ | f3/2 g/ a | (3(b/a/g/) f Te | d3 :|  