Develop a musical piece with the given motif, ensuring that it reflects the mentioned musical form.
X:1
L:1/4
Q:1/8=300
M:4/4
K:D
['d B/c/d/B/ A'  
X:1
L:1/4
Q:1/8=300
M:4/4
K:D
 A/ |"D" d d"G" B/c/d/B/ |"D" A F A F | d d"G" B/c/d/B/ |"D" A F"A" (3E/F/E/ D | 
"D" d d"G" B/c/d/B/ |"D" A F A d/e/ | f d"A" e c |"D" d2 d3/2 :: e/ |"D" f d d e/f/ | 
"G" g f"D" e d | f d A d | f d/f/"A" (a a/)g/ |"D" f d d e/f/ |"G" g f e d/e/ |"D" f d"A" e c | 
"D" d2 d3/2 :|  