Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:6/8
K:G
['D2 B BAG BdB ABA GED G2', 'G2 A'  
X:1
L:1/8
M:6/8
K:G
 D2 B BAG | BdB ABA | GED G2 A | B3 AGE | D2 B BAG | BdB ABA | GED G2 A |1 BGF G3 :|2 BGF GBd || 
 e2 e edB | e2 e edB | d2 d def | gfe dBA | G2 A B2 d | ege dBA | GED G2 A |1 BGF GBd :|2 BGF G3 |]  