Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/8=80
M:3/4
K:G
['G>AB ABd e2 e', 'e2 e'  
X:1
L:1/8
Q:1/8=80
M:3/4
K:G
 (3(DEF) | G>AB | ABd | e2 e | d>BA | G>AB | A2 G | (E3 | D2) (E/F/) | G>AB | ABd | e2 e | d2 e | 
 G>AB | A2 G | G3- | G2 || (B/c/) | dBd | g>fg | e2 e | A2 B | c>de | dBA | (G3 | F2) (3(DEF) | 
 G>AB | ABd | e2 e | d2 e | G>AB | A2 G | G3- | G2 |]  