Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
Q:1/8=220
M:4/4
K:D
['AF F2 EFDE F2 AF BFAF E2', 'fd d3 f'  
X:1
L:1/8
Q:1/8=220
M:4/4
K:D
 AF F2 EFDE | F2 AF BFAF | E2 BE dEBE | ABde fedB | AF F2 EFDE | F2 AF BFAF | E2 BE dEBE | 
 ABde fd d2 :| fddc dfag | fdcd fagf | eA A2 eAfA | eA A2 efge | fd d3 f ag | fd d3 f af | 
 g2 gf gbag | faeg fd d2 :|  