Compose music by following the designated structure and integrating the suggested musical idea.
X:1
L:1/8
M:2/4
K:G
['A A2 G EGAB']  
X:1
L:1/8
M:2/4
K:G
 GG/E/GB | A3 B | ddBA | G4 | A A2 G | EGAB | AGEG | D4 | EE/G/EG | G E2 D | E4 | A A2 G | EGAB | 
 AGEB, | D4 |]  