Construct a musical work following the provided guidelines and thematic elements.
X:1
L:1/8
M:4/4
K:A
['(3(ABc) B2 (3(Bcd)', 'a2 (3(fga) g2 e2'  
X:1
L:1/8
M:4/4
K:A
|: vA2 (3(ABc) B2 (3(Bcd) | ve>vcud>uB vc>vA (3(GFE) | A2 (3(ABc) B2 (3(Bcd) |1 
 ve>vc (3(dcB) A2 E2 :|2 (3efe (3dcB A2 A,2 |: va2 (3(fga) g2 e2 | vf2 ug>ua vb>g e2 | 
 a2 (3(fga) g2 e2 | f>ef>g a2 (3(efg) | a2 (3(fga) g2 e2 | f>fg.a b>g (3(efg) | 
 a2 (3(cde) f2 (3(Bcd) | (3efe (3dcB | A2 A,2 :|  