Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
Q:3/4=40
M:3/4
K:G
['G2 G>BA>c B2 G2 A2 B2 Bdce', 'd2 dB'  
X:1
L:1/8
Q:3/4=40
M:3/4
K:G
|: G2 G>BA>c | B2 G2 A2 | B2 Bdce | d2 c2 B2 | eccege | d/e/d/c/ B/d/g/d/ | 
"^As written" e/d/g/d/cB | B4 A2 :: A2 A>BA>B | cBAB G2 | d2 dB (3gfe | d2 c2 B2 | e2 (3ece ge | 
 d2 dB gd | f/e/d/c/ B2 A2 | TA4 G2 :|  