Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:6/8
K:G
['d d>dd d2 d B3 B2 B']  
X:1
L:1/8
M:6/8
K:G
 d | d>dd d2 d | B3 B2 B | c>cccde | d3 z2 d | defgfe | e>dc/d/ B2 d | dedcAd | B3 z2 |]  