Develop a musical piece with the given motif, ensuring that it reflects the mentioned musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['this is not edited. See D2 D>D', 'A2 A>A'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
"^Beware, this is not edited. See notes." D2 D>D D2 | [FA]2 [FA][FA] [FA]2 | AFAF D2 A2 | 
 dAdA dAFD | A2 A>A A2 | e2 e>g f2 z a | a3 f fdgf | [ce]2 [ce][ce] [ce]2 z2 :| A2 A>A Aefg | 
 A2 A>A Adea | (ge).e.e (fd).d.d | bagf f2 e2 | d3 (f/e/) dAB=c | =cB B2 B2 ^cdef | 
 .g.g.f.f .e.e.d.d | e2 e>e e2 z2 | D2 D>D D2 | F2 F>F F2 | AFAF D2 g2 | (fa)(af) gedc | 
 d2 d>d d2 |]  