Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['GE E2', 'G2 BG dGBG'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 A | GE E2 BE E2 | GE E2 BcBA | GE E2 BE E2 | AFDF AcBA | GE E2 BE E2 | GE E2 BcBA | G2 GF GBdB | 
 AFDF AcB || A | G2 BG dGBG | G2 (3Bcd ef g2 | G2 BG dGBG | AFDF AcBA | G2 BG dGBG | 
 G2 (3Bcd ef g2 | afge dedB | AFDF AcBG ||"^last time" E8 |]  