Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
['AF DE']  
X:1
L:1/8
Q:1/8=232
M:4/4
K:D
|: dB | AF DE FD FG | AF ED d2 cB | AF DE FE FG | AB =cA G2 dB | AF DE FD FG | AF ED d2 cB | 
 AF DE FE FG | AB =cA G2 FG | Ad dB AG FG | Ac de f2 FG | Ad dB AG FG | AB =cA G2 FG | 
 Ad dB AG FG | Ac de f2 ef | ge fd ec dB | AB =cA G2 :|  