Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['A BGAG EGDE G2 Bd edgd BGAG', 'Bd d2'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 A | BGAG EGDE | G2 Bd edgd | BGAG EG D2 | BdAc BGG :| z | Bd d2 edBA | Bdef gfed | Bd d2 edgd | 
 B2 Ac BGGA | Bd d2 edBA | Bdef g2 ga | bgaf gfed | egfa gedB ||"^last time" G8 |]  