Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/4
M:4/4
K:Gdor
['d d']  
X:1
L:1/4
M:4/4
K:Gdor
 c | d d f =e | d d/d/ G G | c c/d/ =e e | d3 B/c/ | d d c B | G G/F/ D G | c c d/c/ A | G3 |]  