Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:9/8
K:D
['F2 A A2', 'd2 B'  
X:1
L:1/8
M:9/8
K:D
|: F2 A A2 d AFD | G2 B B2 ^A BB/c/d | F2 A A2 F ABc | dAF DEF E2 D :: d2 B AFA A^GA | 
 B2 e e2 f gfe | d2 B A^GA A>Bc | dAF DEF E2 D :|  