Another one if you can help

Solve the formula for the indicated variable.

N=a+b Ln (c/d) for c

If a and b are in parenthesis, the answer is:

c = d*e^(n/(a+b))

If not, the answer is:

c = d*e^((n/b)-(a/b))