Construct tunes that conform to the predetermined musical pattern, featuring the provided motif.
X:1
L:1/8
M:4/4
K:C
['cBAa (3(fga) ec dfec', '(3(cBA) (eA) fAeA'  
X:1
L:1/8
M:4/4
K:C
[M:2/2][K:A] .abc (ed) | cBAa (3(fga) ec | dfec B2 (Bd) | cBAa (3(fga) ec | dfec A2 (Ad) | 
 cBAa (3(fga)(ec) | dfec B2 (Bd) | cefg agbg | afed cAAd || (3(cBA) (ec) fAeA | 
 (3(cBA) (ec) B2 (Bd) | (3(cBA) (eA) fAeA | dfed cAAd | (3(cBA) (eA) fAeA | dfec B2 (Bd) | 
 cefg agbg | afec A2 |]  