Generate a melody that complies with the prescribed musical outline.
'Ternary', 'Sectional: Verse/Chorus/Bridge'  
X:1
L:1/8
M:4/4
K:C
 .abc ||[M:4/4][K:D] (3Tdfec A2 AB | cdef{a} gfge | dfec A2 AB | cBcG TED D2 :| d2 (fd) adfd | 
 c2 (ec) gcec | d2 (fd) adfd | eaTag ed d2 | defg afge | cdef g2 fg | (3(agf) (3(gfe) fded | 
 ea{b}aged d2 |]  