Construct a melody adhering to the specified linguistic musical pattern.
'Ternary', 'Sectional: Verse/Chorus/Bridge'  
X:1
L:1/8
M:4/4
K:G
 (3DEF | GABc dg(3fga | g2 B2 d3 B | ceAB c2 cA | BdGA BcBA | GABc dg(3fga | g2 B2 d3 B | 
 ceAB cAFG |1 AGGF G2 :|2 AGGF GA |: (3B=c^c | d2 b2 c2 a2 | Bggf gdBG | F2 e2- edcA | 
 GBAc Bd (3B=c^c | d2 b2 c2 a2 | Bggf gdBG | FGAB cAFG |1 AGGF GA :| AGGF G2 |]  