Construct musical compositions utilizing the given motif within the outlined structure.
X:1
L:1/4
M:2/4
K:G
['(D2 D)']  
X:1
L:1/4
M:2/4
K:G
 G, | A, C | (D2 | D) E | D (B,/A,/) | (G,2 | G,) z | G (D | D2) |[M:3/4] G A B |[M:2/4] G3/2 F/ | 
 (D2 | D) z | z D | F F | A2 | A F | G (E/D/) | C2 | C z | C2 | A,2 | G,2 | (G,2 | G,) z |]  