Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:3/4
K:G
['BB A>B cd ee', 'z d de e2 g2{f} e>d Bd'  
X:1
L:1/8
M:3/4
K:G
 G/A/ BB | A>B cd ee | d>B GA Bd | d2 BG{B} A>G | G z GA BB | A>B cd ee | dB GA Bd | ed BG{B} A>G | 
 G2 z || d de | e2 g2{f} e>d | Bd d2 e(f/g/) | B2 cB AG | A2 z B cB | A>B cd ee | d>B G>A Bd | 
 ed BG{B} A>G | G3 ||  