Construct a piece of music using the designated motif as the basis, while ensuring the required form is followed.
X:1
L:1/8
M:2/2
K:G
['(ge) dBAc', 'a2 (ef) gfge gbag gfga beef gfga', '(ef) gfge gbaf gfga beeg (3(bag) af'  
X:1
L:1/8
M:2/2
K:G
 (ge) | dBAc BAGA | BcBA B2 (ge) | dBAc BGGB | Aaa^g a2 :| (ef) | gfge gbag | gfga beef | 
 gfga bagf | eaa^g a2 (ef) || gfge gbaf | gfga beeg | (3(bag) af gfed | eaa^g a2 |]  