Build a musical work using the provided motif and following the indicated form.
X:1
L:1/4
M:3/4
K:G
['D G2 A B2 G c2']  
X:1
L:1/4
M:3/4
K:G
 D | G2 A | B2 G | c2 B | A2 D | F2 G | A2 c | B2 A | G2 D | G2 A | B2 G | c2 d | e2 ^d | d e c | 
 B2 A | G3 | G2 d |]  