Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:2/2
K:Edor
['D |]: EBBA', 'EB B2 AB', 'DAFA BAFA defg eB egfg eBBA defg'  
X:1
L:1/8
M:2/2
K:Edor
 D |]: EBBA B2 EB | B2 AB dBAG | (3FED AD BDAD | FDFA dAFD | EBBA B2 EB | B2 AB defg | afge dBAF |1 
 DEFD E3 D :|2 DEFD E2 gf |: eB B2 eBgB | eB B2 gedB | A2 FA DAFA | BAFA defg | eB B2"^var." egfg | 
 eBBA defg | afge dBAF |1 DEFD E2 gf :|2 DEFD E3 D |]  