Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['e>d B<A', 'd>B B<A'  
X:1
L:1/8
M:4/4
K:D
 A>B d>e f>e e<f | e>d B<A B>A F>A | B2 d<e f>e e<f |1 e>d B<A B4 :|2 e>d B<A d2 d>c || 
 B<A F>E F<D D>E | F<A A>F A2 B>d | B<A F>E F<D D>D |1 d>B B<A B3 A :|2 d>B B<A d2 d>B ||  