Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:G
['g>d d2', 'B>A G<E', 'B>A G>E', 'e>c d>b c>a B>c d>f e>a b>g'  
X:1
L:1/8
M:4/4
K:G
 f |"G" g>d B<G"C" c<e"G" d2 |"G" g>d B<G"Am" E>A"D" F<D |"G" g>d B<G"C" c<e"G" d2 | 
"Em" B>g"Am" e>a"D" f<d"G" g :| f |"Em" e>e g>e b>g e>B | G<G"B" B>A"Em" G>B G>E | 
"Em" e<e g>e"B" ^d>f B>a |"E7" g>e"B7" B>^d e>f"D" f2 |"G" g>d B<G"C" c<e"G" d2 | 
"G" g>d B<G"Am" E<A"D" F>D |"G" g>d B<G"C" c<e"G" d2 |"Am" e>a"D" g/f/e/f/"G" g2 g |] 
[K:A][M:4/4]"^General Campbell" E | A2 c>A F<A E>C | E>e d/c/B/A/ c>B B>c | d>f c>e B>A G<E | 
 F>d B>G A>B A :| e | a>e c>A B>A G<E | A>a e>c A/B/c/d/ e>c | d>g c>a B>A G>E | A>d c>B c<A A | 
 e | a>e c>A B>A G>E | A/B/c/d/ e>c A>a e>c | d>b c>a B>c d>f | e>a b>g a2 a |]  