Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:D
['A2 A B/c/ d/c/B/A/ FD FA', 'FA d>e fe e>d cA ce'  
X:1
L:1/8
M:2/4
K:D
|: A2 A B/c/ | d/c/B/A/ FD | FA A/F/D/E/ | FE EF/G/ | A2 A B/c/ | d/c/B/A/ FD | FA d>e | fe d2 :: 
 FA d>e | fe e>d | cA ce | dc BA | FA d>e | fe e>d | cA ce | d2 d>G :|  