Develop a musical piece with the given motif, ensuring that it reflects the mentioned musical form.
X:1
L:1/8
M:6/8
K:D
['d2 A AFA d3 efg f2 d', 'f e2 f g3 f2 d e2'  
X:1
L:1/8
M:6/8
K:D
 d | d2 A AFA | d3 efg | f2 d e2 d | c2 A ABc | d2 A AFA | d3 efg | f2 d e2 c | d>ed d2 :: A | 
 d2 f a2 f | e2 f g3 | f2 d e2 d | c2 A A3 | aba g2 f | e2 f g3 | f2 d e2 c | d>ed d2 :|  