Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
Q:1/8=220
M:4/4
K:G
['BAGB cedB']  
X:1
L:1/8
Q:1/8=220
M:4/4
K:G
 d |{c} BAGB cedB | egdB cAAd |{c} BAGB cedB | egdc BGGd |{c} BAGB cedB | egdB cAAd | 
{c} BAGB cedB | egdc BGGd | egfg dgfg | (3cde dB cAAd | egfg dgfg | (3cde dc BGG ||  