Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/4
M:3/4
K:A
['B A2', 'd c2'  
X:1
L:1/4
M:3/4
K:A
 E | A2 B | A2 E | F2 A | B2 d | c2 B | A2 E | F3 | F2 E | A2 B | A2 E | F2 A | B2 d | c2 B | 
 A2 F | E3 | E2 || d | c2 d | e2 c | d2 c | B2 d | c2 d | e2 E | F3 | F2 d | c2 d | e2 c | f2 B | 
 B2 d | c2 B | A2 F | E3 | E2 |]  