Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:G
['d4 B4 BccB A2', 'd c2 c2', 'd2 d2 B3'  
X:1
L:1/8
M:4/4
K:G
 d4 | B4 | BccB A2 | ABBA G2 | d4 | B4 | BccB A2 |1 G6 :|2 G4 || g4 |:"^boarischer" f2 f2 e2 e2 | 
 d2 d2 B3 d | c2 c2 A3 e | d2 d2 B3 g | f2 f2 e2 e2 | d2 d2 B3 d | e2 e2 f3 f | g2 g2 g4 :|  