Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/4
Q:1/4=120
M:3/4
K:G
['B d', 'D B, D', 'd d'  
X:1
L:1/4
Q:1/4=120
M:3/4
K:G
"^Temp di Valse" G/E/ | D B, D | G3/2 A/ B/G/ | A G G | G2 D | G B d | e/d/ c/B/ A/G/ | B A A | 
 A2 B/d/ | e g g/e/ | d2 c | B d c | B2 G/A/ | B A B | G E D | E2 F | G z || G/E/ | D B, D | 
 D B, D | G2 G | G2 E | D B, D | D B, D | A2 A | A2 d | e c e | d B d | c A c | B2 G/A/ | B A B | 
 G E D | E2 F | G z || B/d/ | g d d | e d B/A/ | G/A/ B/c/ d/f/ | e d d | g d d | e d B/A/ | 
 G B d | e2 d/e/ | g d d | e d B/A/ | G/A/ B/c/ d/f/ | e d d | g d d | e d B/A/ | G B A | G z ||  