Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
M:4/4
K:D
['agfa- aafa', 'ABcd e2 ag'  
X:1
L:1/8
M:4/4
K:D
 agfa- aafa | gece Aceg | agfa- aafa | gecA Bd d2 :| ABcd e2 ag | fecd efec | ABcd e2 ag | 
 fecA Bd d2 :|  