Construct tunes adhering to the given musical structure.
'Compound Ternary'  
X:1
L:1/8
M:2/2
K:D
 agfg efdB | AF F2 DFAd | BG G2 EGBG | AF F2 ABdf | agfg efdB | AF F2 DFAd | BG G2 A2 ag |1 
 faeg fd d2 :|2 faeg fddf |: a2 fd Adfd | efed cA A2 | a2 fa bged | Beed efge | f3 d g3 e | 
 f2 df edBA | F2 AF GABG |1 Afag fddf :|2 Afag fd d2 ||"^variations" |: A2 af efdB | AF F2 DFAd | 
 BG G2 EFGE | FA A2 BAFA | ABdf efdB | AF F2 DFAd | BG G2 Ebag |1 faeg fd d2 :|2 faeg fddf |: 
 a2 fd Adfd | efed cAdf | a2 fa bged | Beed efge | f2 af g2 bg | afef dBAG | FAdA GBed |1 
 cbag fddf :|2 cbag fd d2 ||  