Energy exchange between electrons and phonons in quantum dot connected between pyramidal and abrupt transport nanojunctions