Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
['A2 d2ec d2ec .d2.e2.f2.g2 f2ge f2ge f2>g2a2>A2']  
X:1
L:1/16
Q:1/4=100
M:2/4
K:D
 A2 | d2ec d2ec | .d2.e2.f2.g2 | f2ge f2ge | f2>g2a2>A2 | B2>c2 (edcB) | A2a2g2f2 | e2>f2 g2f2 | 
 e2ee e2 ::  