Develop a musical work that employs the provided motif and observes the stated musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['BGGF GEDG EDEG A2 GE DEGA BABd', 'dggf gedg eaag a2 ga bg g2', ''  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 A | BGGF GEDG | EDEG A2 GE | DEGA BABd | ed^cd Bdgd | BGGF GEDG | EDEG A2 GE | DEGA BABd | 
 egdc BGG :| B | dggf gedg | eaag a2 ga | bg g2 agef | gedc BGGB | dggf gedg | eaag a2 ga | 
 bg g2 agef | gedc BGG :|"^last time" gedc BGAF | G8 |]  