Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
Q:1/4=88
M:4/4
K:D
['A>G F2 (E>D) (F>G) A2 (d3', 'f2 (gf)(ed) c2 BA d3 e f2'  
X:1
L:1/8
Q:1/4=88
M:4/4
K:D
"^Andante" A>G | F2 (E>D) (F>G) A2 | (d3 e) f2 z A | (Bc)(dA) (BAGF) |{F} E4 z2 A>G | 
 F2 (E>D) (F>G) A2 | (d3 e/f/) A2 z d | (B>cd)B (c>def) | d6 :: f2 | (gf)(ed) c2 BA | d3 e f2 z A | 
 (B>cd)A (BAGF) |{F} E4 z2 fg | (a/g/f) (g/f/)e (fd)(Bg) |{f} e4 z2 (GF) | G2 (AB) A2 c2 | d6 :|  