Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/4
M:2/2
K:G
['B G', 'TB A B'  
X:1
L:1/4
M:2/2
K:G
 g d | B G A/G/A/B/ | G2 A/G/A/B/ | c B A/B/c/A/ | B G g d | B G A/G/A/B/ | G2 A/G/A/B/ | 
 c B A/G/A/B/ | G2 :: B c | TB A B c | TB A B c | TB A B ^c | d2 B =c | TB A B c | TB A B c | 
 TB A B ^c | d2 g d | B G A/G/A/B/ | G2 A/G/A/B/ | c B A/B/c/A/ | B G g d | B G A/G/A/B/ | 
 G2 A/G/A/B/ | c B A/G/A/B/ | G2 :|  