Develop a musical work that employs the provided motif and observes the stated musical form.
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
['A FAED B2 Bd AFED E2 EA', 'D3 A defd gefd e/f/g f/g/a e2'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:D
 A | FAED B2 Bd | AFED E2 EA | FAED BcdB | AGFE D3 || A | defd gefd | e/f/g f/g/a e2 e/f/g | 
 a>baf edef | dB AF D3 |]  