Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:3/8=80
M:6/8
K:D
['FA z df z', 'A3 A>BA ce z gb z eg'  
X:1
L:1/8
Q:3/8=80
M:6/8
K:D
 D>ED FA z | df z Bd z | EG z D>CA, | C>ED FA z | df z Bd"^NB" z | E>A^G A3 || A>BA ce z | 
 gb z eg z | Be z c>BA | DB z Ec z | Fd z g>af | e>dc d3 |]  