Compose a piece of music using the specified letter-based musical form and incorporating the assigned motif.
X:1
L:1/8
M:4/4
K:D
['d>A F>A', 'd>B A<D e>g A<F A<d']  
X:1
L:1/8
M:4/4
K:D
 B |"D" A<D A>F A<D D>d |"D" A<D A>F"Em" B<E"A7" E>d |"D" A<D A>d"G" B>d"D" A>d | 
"Em" B>d"A7" A>g"D" f<d d :| f |"D" d>A F>A D<A d>B |"D" A<D A>F"Em" E<e"A7" e<f | 
"D" d>A F>A D>A F>A |"G" d<B"A7" A>F"D" A<d d |] f |"D" d>A F>A D>A d>B | 
"D" A<D A>F"Em" E<e"A7" e>g |"D" f<a"A" e>f"Bm" d>B"A" A<F |"G" B/c/d/B/"A7" A>F"D" A<d d |]  