Construct a piece of music by incorporating the given motif and adhering to the determined musical form.
X:1
L:1/4
M:3/4
K:G
['g d d']  
X:1
L:1/4
M:3/4
K:G
 G | G2 G | d3 | _e =f e | d2 d | c3/2 d/ c | _B A G/A/ | _B A G | z2 g | d d g | d d c | 
 _B3/2 d/B/A/ | G2 G2 | _B d c | d3/2 _e/d/c/ | _B2 A G- | G z3 |]  