Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
M:4/4
K:Gmin
['B,4 A,4 (3G,B,D (3GBd g2 z2', 'F2 BABc dc B2 c=Bcd ed c2']  
X:1
L:1/8
M:4/4
K:Gmin
|: G,A, | B,4 A,4 | (3G,B,D (3GBd g2 z2 | (3cde (3ABc (3^FGA D2 | (3cde (3ABc (3^FGA D2 | B,4 A,4 | 
 (3G,B,D (3GBd g2 z2 | d^cde d<Aze | dcBA G2 :: F2 | BABc dc B2 | c=Bcd ed c2 | f=efg agf_e | 
 dcBG _G2 F2 | BABc dc B2 | c=Bcd ed c2 | f=efg ag f2 | (3agf (3edc B2 :|  