Construct a music composition that includes the given motif, while conforming to the necessary musical form.
X:1
L:1/8
Q:1/8=160
M:9/8
K:D
['d2 B AFA AFA', 'E2 D F2 A AFA AFA G2'  
X:1
L:1/8
Q:1/8=160
M:9/8
K:D
 A | d2 B AFA AFA | d3 ede fdB | d2 B AFA AFA | B2 d DFD E2 :| D | F2 A AFA AFA | G2 A BGB BAG | 
 FGA AFd AFd | B2 d DFD E2 :|"^last time" D6 z3 ||  