Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/4
M:3/4
K:G
['D D']  
X:1
L:1/4
M:3/4
K:G
 D | G3/2 A/ B | A D D | A3/2 B/ c | B G D | D D D | D D D | D D D | D D D | G G G | G G D | 
 G G G | G G z | d D D | D D D | d D D | D D |]  