Construct musical works that adhere to the outlined structure and include the given musical motif.
X:1
L:1/8
M:2/2
K:G
['GABc defd', 'd6 fg afga bagf egfe edcB e^def'  
X:1
L:1/8
M:2/2
K:G
 D2 | GABc defd | g2 fe d2 d2 | e2 E2 d2 D2 | c2 Bc AcBA | GABc defd | gfed ^cbag | gfed A2 ^c2 | 
 d6 :| fg | afga bagf | egfe edcB | e^def gfga | bagf efga | bBbB aBaB | gBgB fBfB | e^def gfe=d | 
 e6 f2 | gfed cBAG | e2 d2 d2 D2 | c2 B2 A2 G2 | FGAF D3 D | EFGE FGAF | GABG ABcA | d2 g2 bagf | 
 g6 |]  