Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:6/8
K:G
['E2 G D2 G', 'G2 B'  
X:1
L:1/8
M:6/8
K:G
|: d | B2 G GFG | E2 G D2 G | E2 G D2 G | FGA Adc | BGG GFG | EGG D2 e | cAF DD/E/F | G3 G2 :: 
 B/A/ | G2 B B^AB | G2 B d2 B | E2 A ABA | F2 A D2 d |1 B2 G GFG | EGc e3 | cAF DEF | G3 G2 :|2 
 GFG BG/A/B | EGc e2 g | ecA DD/E/F | G3 G2 ||  