Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:4/4
K:D
['A>B d>e f<a f2', 'f<a f2'  
X:1
L:1/8
M:4/4
K:D
 A>B d>e f<a f2 | e>d d/d/d B<d e2 | A>B d>e f<a f2 | f>e d>B A2 A2 :: a2 a>g f<a f2 | 
 e>d d/d/d B<d e2 |1 a2 a>g f<a f2 | f>e d>B A2 A2 :|2 A>B d>e f<a f2 | f>e d>B A2 A2 ||  