Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:4/4
K:D
['D2 DD DF AF B2 AA AF', 'DE FE'  
X:1
L:1/8
M:4/4
K:D
 D2 DD DF AF | B2 AA AF Ad | c2 EE EF GA | B2 AG F4 | D2 DD DF AF | B2 AA AF Ad | c2 EF G2 FE | 
 E2 D2!fine! D4 ::[K:A] E2 DE FE DE | FE AB c2 c2 | d>e dc B2 B2 | c>d cB A2 A2 | E2 DE FE DE | 
 FE AB c2 c2 | d2 cB z d cB |1 A2 A2 A4 :|2 A2!D.C.! A2 A=G FE |]  