Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:G
['d<d B>G E>F', 'd>eg>a b>ag>d'  
X:1
L:1/8
M:4/4
K:G
|: d<d B>G E>F G2 | D>GE>G D>GE>G | d<d B>G E>F G>A | B>e g/f/e/^d/ e2- eg :: d>eg>a b>ag>d | 
 e<g d>g e<g d>B | d>eg>a b>ag>d | e>g f/g/a/f/ g2- gd :|  