Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:D
['fedc dAFA', 'd2 cd edcd e2 a2 fede f2'  
X:1
L:1/8
M:4/4
K:D
 de | fedc dAFA | fedc dAFA | Bdgf edcd | (3efd (3cdB A2 de | fedc dAFA | fedc Bdga | ba^ga =geag | 
 f2 d2 d2 :: cd | edcd e2 a2 | fede f2 a2 | gfga bagf | (3efe (3dcB (3ABA (3GFE | DFAd fafd | 
 gfga b2 ag | (3fag (3fed (3cba (3gfe | f2 d2 d2 :|  