Write the equation for the inverse of each function. Then graph the function and it inverse.

This is the original function y=tan x/2

This is what I did

y= tan x/2

x=tan y/2

2x=tan y

y= 2 arc-tan x

But I am confused on how to graph these functions as they have pi as the asymptote while on other tan function it is zero. Can anyone show me how to graph this function as I am confused?(Crying)