Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/4
Q:1/4=150
M:7/8
K:Ephr
['B B', 'A A'  
X:1
L:1/4
Q:1/4=150
M:7/8
K:Ephr
 A B B B/ | B B B G/ | A A A F/ | G G/G/ G z/ :| A A A F/ | G G G E/ | F F F D/ | E E/E/ |1 
 A z/ :|2 E z/ |]  