Develop a musical piece with the given motif, ensuring that it reflects the mentioned musical form.
X:1
L:1/8
M:12/8
K:D
['F2 A ABA ABA AFD', 'd2 A F2 A'  
X:1
L:1/8
M:12/8
K:D
 F2 A ABA ABA AFD | G2 B B2 A B2 A Bcd | F2 A ABA ABA AFD | dcB AGF GFE D3 :| d2 A F2 A d2 e fef | 
 d2 A F2 A GFG E3 | d2 A F2 A d2 e fef | dcB AGF GFE D3 :|  