Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['AFFG FEFG AFFA GFED AFFG F2 FE', 'D2 defg afbf gfed eB B2 defg'  
X:1
L:1/8
M:4/4
K:D
 AFFG FEFG | AFFA GFED | AFFG F2 FE | D2 DE FD D2 :: defg afbf | gfed eB B2 | defg afbg | 
 f2 eg fd d2 :|  