Craft a musical piece that abides by the prescribed structural guidelines and the given theme.
X:1
L:1/8
M:3/4
K:D
['A>B AG', 'F3 A A>c e2 e>e e>d f2'  
X:1
L:1/8
M:3/4
K:D
 D2 A>B AG | F>A d2 f2 | A2 A>B AG | G>F F3 || A | A>c e2 e>e | e>d f2 f>f | f>e gf ed | 
 d>c c3 z2 c | e>d B2 B>B | d>c A2 A>A | A>B AG FA | A>d d3 z ||  