Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:3/8
K:G
['d d2 d ddd g=fg d3- d2']  
X:1
L:1/8
M:3/8
K:G
 d | d2 d | ddd | g=fg | d3- | d2 =f | =f>ff | =fgf | _edc | _B3- | B2 d | cd_e | d2 c | _B2 A | 
 G3- | G2 |]  