Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
Q:1/8=120
M:2/2
K:Bphr
['B/B/d/e/ g e f a d3/2 f/', 'e d'  
X:1
L:1/4
Q:1/8=120
M:2/2
K:Bphr
|:"^A" B/B/d/e/ g e | f a d3/2 f/ | g g a g/f/ | e d B2 ::"^B" A G A/B/ c | d d B3/2 d/ | 
 e d e/f/ g | a a g2 | B/B/d/e/ g e | f a d3/2 f/ | g g a g/f/ | e d B2 :|  