Construct a melody adhering to the specified linguistic musical pattern.
'Compound Binary'  
X:1
L:1/8
M:6/8
K:D
 A |: F>GA A>Bc | d2 e f2 g | a>ba f2 d | e>dc B.AG | F>GA A>Bc | d2 e f2 g | a>ba f>ed | 
 e>fe d2 :| g |: f>ga g2 f | e>fg f2 e | d>ef e2 d | e>dc B.AG | F>GA A>Bc | d2 e f2 g | 
 a>ba f>ed | e>fe d2 :|  