solve A+x = e^y + C y for y