Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/4
M:3/4
K:G
['D G2 G G A B c2', 'G A'  
X:1
L:1/4
M:3/4
K:G
 D | G2 G | G A B | c2 c | E2 G | F2 F | D E F | G2 G | G2 :: B | d2 d | B c d | e2 d | c2 B | 
 A2 A | F G A | d2 c | B2 D | G2 G | G A B | c2 c | E2 G | F2 F | D E F | G2 G | G2 :|  