Create a melody and harmony adhering to the specified musical parameters.
'Ternary', 'Sectional: Verse/Chorus/Bridge'  
X:1
L:1/8
M:4/4
K:D
"^A" A2 || d2 AG FDFA | BGBd cAce | f2 fd gfed | c2 e2 e2 A2 | d2 AG FDFA | BGBd cAce | 
 f2 fd gfed | A2 d2 d2 A2 :|"^B" dfaf dfaf | gfef g2 ef | gfed cdeg | fefg f3 f | dfaf dfaf | 
 gfef g2 ef | gfed caag | f2 d2 d2 A2 :|  