Construct a music composition that includes the given motif, while conforming to the necessary musical form.
X:1
L:1/8
M:4/4
K:G
['d2 g2 e2']  
X:1
L:1/8
M:4/4
K:G
 G2 B2 A2 cB | AF G6 | d2 g2 e2 gf | ee d6 | d2 g2 e2 cB | cA G6 | Bddd | AF G2 |]  