Generate music with the following musical form in terms and the given motif.
X:1
L:1/8
Q:1/2=84
M:4/4
K:D
['B2 B2', 'B2 B2'  
X:1
L:1/8
Q:1/2=84
M:4/4
K:D
 ABAG F2 GA | B2 B2 TA4 | Bcdc B2 B2 | g2 f2 Te4 | ABAG F2 GA | B2 B2 TA4 | BcdB c2 de | 
{f} Te4 d4 || f2 gf e2 fe | dfed c2 TBA | Bcdc B2 B2 | g2 f2 Te4 | ABAG F2 GA | B2 B2 TA4 | 
 BcdB c2 de |{f} Te4 d4 |]  