Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/8
Q:1/8=128
M:4/4
K:D
['f/g/a/g/ f<d B>d g>b A<d f>a A<c']  
X:1
L:1/8
Q:1/8=128
M:4/4
K:D
|: G | F>A D>A G>B E>G | F<A B>c d3 c | B>d A>d G>d F>d | E<e e>d c/d/c/B/ A/B/A/G/ | 
 F>A D>A G>B E>G | F<A f>e d3 c | B>d A>d G>d F>G | F>D E>C D3 g | f/g/a/g/ f<d B>d g>b | 
 A<d f>a A<c e>g | f/g/a/g/ f>d B<d g>b | a<d f>e d2 d>g | f/g/a/g/ f<d B>d g>b | A<d f>a A<c e>g | 
 (3(fed) (3(cde) (3(dAG) (3(FGA) | (3(Bcd) (3(cde) f<d d :|  