Construct a harmonic melody using the outlined chord structure.
'Dog in Pain\\'  
X:1
L:1/16
M:2/4
K:D
"^A" A2 || d2fg agfa | gefg fecA | d2fg afdf | efed cAA2 | d2fg afdf | gefg ecAc | d2fg afdf | 
 efed cAA2 ||"^B" e2>f2 edBc | dfea fdd2 | e2>f2 edBc | dBAG FDD2 | e2>f2 edBc | dfea fdef | 
 gfed cABc | dBAG FED2 :|"^C" E2EG FEDF | EDEG FEDF | EFED E^GAc | dfed cBA2 | E2EG FEDF | 
 EDEA FEDF | EDEG FGAc | dBAG FDD2 ||"^D" D2ag fdd2 | efga fdd2 | D2ag fdfa | gfed cAA2 | 
 D2ag fddf | efga fdd2 | D2ag fdfa | gfed cAA2 || 
"^Variation for 'C' part, \"Dog in Pain\"" A,4 !slide!e'4 | !slide!e'4 !slide!e'4 | A,4 A2Bc | 
 dBAG F2DE | A,CDG FEDF | EDEG FEDF | EDEG | FGAc dBAG | FDD2 ||  