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
['gB B2', 'ad d2', 'g2 gf'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 gB B2 GB B2 | gB B2 dB B2 | gB B2 gage | fgfe dcBA |"^5" gB B2 GB B2 | gB B2 dB B2 | gB B2 gage | 
 fgfe defg ||"^9" ad d2 adbd | ad d2 ee e2 | ad d2 abag | fgfe defg |"^13" ad d2 bd d2 | 
 ad d2 fe e2 | ad d2 abag | fgfe d^def ||"^17" g2 gf gdBd | gfga gdBd | g2 gf gbag | f2 e2 d2 ef | 
"^21" g2 gf gdBd | gfga gdBd | g2 gf gbag | f2 e2 d2"_D.C." ef ||"^last time" f2 e2 d4 |]  