3ex tan y dx = (ex - 1) sec2y dy
⇒ \(\frac{3e^x}{e^x - 1}dx\) = \(\frac{sec^2y}{tan y}dy\)
⇒ 3\(\int\frac{e^x}{e^x-1}dx\) = \(\int\frac{sec^2y}{tan y}dy\)
⇒ 3 log|ex - 1| = log |tan y| + log c, where log c is an integral constant
⇒ (ex - 1)3 = c tan y which is solution of given differential equation.