Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/16
Q:1/4=98
M:6/16
K:G
['d2 dd2d d2cB2 d d2d e2B d3', 'c3 abag ag fg fefe d2de2 f'  
X:1
L:1/16
Q:1/4=98
M:6/16
K:G
"G" d2 dd2d | d2cB2 d | d2d e2B |"D" d3 c3 | c2cc2 c | c2B A2d | d2 de2f |"G" g6 :|"G" B6 | d6 | 
 dedc2 B |"D" d3 c3 | abag ag | fg fefe | d2de2 f |"G" g6 |]  