Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/4
M:2/4
K:G
['D D']  
X:1
L:1/4
M:2/4
K:G
 D D | G G/G/ | E G/E/ | D D | G2 | A2 | B z | D D | c d/c/ | B A | B z | G B | A A | F E/F/ | 
 G z |]  