Construct musical works adhering to the required format and the supplied musical theme.
X:1
L:1/8
M:2/2
K:D
['', 'fddf edBc', 'faab afdf'  
X:1
L:1/8
M:2/2
K:D
"^A" |: fddf edBc | d2 ef g2 ag | fddf edBc | dBAF E2 D2"^B" :: faab afdf | afdf g2 g2 |1 
 faab afdf | gfed B2 A2 :|2 fa a2 fa a2 | gfed B2 A2 |]  