Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
Q:1/8=150
M:9/8
K:D
['FAA FAd', 'f2 f faf edB'  
X:1
L:1/8
Q:1/8=150
M:9/8
K:D
 A | FAA FAd AFD | FAA FAd B2 A | FAA FAd AFD | EDB, DFA B2 :| A | f2 f faf edB | A2 f fef g2 e | 
 f2 f faf edB | AFE DFA B2 :|  