Develop a musical composition based on the specified form and using the given motif.
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
['', 'A B AG EG D', 'E GF G2'  
X:1
L:1/8
Q:1/4=120
M:6/8
K:G
 A |: B AG EG D | E GD EG A | B AG EG D | E AA AG A | B AG EG D | E GD EG A | B AG EG D |1 
 E GF G2 A :|2 E GF G2 D |: G Bd e2 d | d gd B2 A | G Bd e2 d | e aa ag a | b ag ag f | g fe dB G | 
 B AG EG D |1 E GF G2 D :|2 E GF G2 A ||  