Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:2/4
K:G
['d>cBA G2 D']  
X:1
L:1/8
M:2/4
K:G
 d>cBA | G2 D z | d>cBA | G2 D z | GGAd | BB A2 | GGAd | BB A2 | d>cBA | G2 D z |]  