Create musical composition by adhering to the given musical structure represented by letters and integrating the given motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:Gmin
['B2 (AG)', 'd>edc B2 (TA2!pp!{GA} G2) d^f g2 dB', '(=FG/A/) B>ABc d3 d |{d} e2!p!({e} dc){c}']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:Gmin
"^Slow and plaintive."!p! (GA) | B2 (AG) (G3 B) | (FDCD) F3 A |!p!{c} B2 (AG) G3 B | 
 ^FG Bc{Bc} d3 || d |!p!{d} e2({e} dc){e} d2 (cB) |({d} cB)!pp! (AG) F3 B |"^cresc." G>ABc d>edc | 
!p! B2 (TA2!pp!{GA} G2) |] | d^f | g2 dB G3 B |!p! (F<D) (CD) F3 ^f | g2"^cresc." G2 G2 (=FG/A/) | 
 B>ABc d3 || d |{d} e2!p!({e} dc){c} d2({d} cB) |({d} cB) (AG)!pp! F3 B |"^cresc." G>ABc d>edc | 
!p! B2 (TA2!pp!{GA} G2) |]  