According to my teacher, if Z = X+iY and:
$$\tan(z) = \frac{\sin(z)}{\cos(z)}$$
Then $\tan(z)$ will be:
$$\tan(z) = \frac{\sin(2x)+i\sinh(2y)}{\cos(2x)+\cosh(2y)}$$
But I'm stuck expanding the $\sin/\cos$ quotient, specifically in this part:
$$\frac{\sin (z)}{\cos(z)} = \frac{\sin(x)*\cosh(y)+\cos(x)*i\sinh(y)}{\cos(x)*\cosh(y)-\sin(x)*i\sinh(y)}$$
I'd be very grateful for any help on how to solve this, thanks.
In your final answer, the denominator is real. In your expansion of $\sin(z)/\cos(z)$, this is not the case. To eliminate the imaginary component in the denominator, you can multiply both the numerator and denominator by the complex conjugate of the denominator.
When you multiply this complex conjugate, you will end up with terms like $\cos^2(x)$, $\cosh^2(x)$, $\sin^2(x)$, and $\sinh^2(x)$. You can express all of these in terms of $\cos(2x)$ and $\cosh(2x)$ using double angle formulas. (You can find them with a bit of Googling.)
I believe that similar efforts to the numerator (using $\sin(2x)$ and $\sinh(2x)$ formulas) will give you the answer you seek. The identity $\cosh^2(x) - \sinh^2(x) = 1$ might also help.