Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:Bb
['(B c) d2']  
X:1
L:1/8
M:4/4
K:Bb
 A2 | B2 A2 G2 AB | (cB) AG ^F2 D2 | GG A2 B2 c2 | d6 (B c) | d2 (e d) c2 d2 | B2 c2 A2 (B c) | 
 d2 G G (B A) (G ^F) | G6 |]  