Create a melody following the provided musical guidelines.
'Ternary', 'Sectional: Verse/Chorus/Bridge'  
X:1
L:1/8
M:4/4
K:G
 (3DEF |: GFGA BGEG | DGBd g2 (3def | gfge d^ced | cEAG FDEF | GFGA BGEG | DGBd g2 (3deg | 
 gfge d^ced | cDEF G2 Bc :: dg g2 dgbg | ed^ce d2 Bd | c EAcB DGB | A^GAB cABc | d^c(3def gdba | 
 gdBG EGce | d2 Bd cBed | cDEF G4 :|  