Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/8
M:4/4
K:D
['f/g/a d2 d g f>e', 'B<g f>e a>b a<g f<d e>d B<d'  
X:1
L:1/8
M:4/4
K:D
 B |"D" A<F A>f"G" e>d B<d |"D" A<F A>B"G" d>e d<B |"D" A<F A>f"Em" e>d B<g | 
"A" f/g/a e<c"D" d2 d :| g |"D" f>e d>f"G" e>d B<g |"D" f>e f>g"A" a>b a<g | 
"D" f<d g>f"G" e>d B<d |"A" f/g/a e<c"D" d2 d || g |"D" f>e d>f"G" e>d B<g | 
"D" f>e f>g"A" a>b a<g |"D" f<d g>f"G" e>d B<d |"A" a<f g<e"D" d2 d |]  