Try graphing (or looking up) the tangent function. The graph of this function passes through the origin; the segment of the graph that does so has domain
(-pi/2, pi/2).
The equation of that function is simply y = tan x.
If we translate the entire graph upward by 2 units, we get the function
y = tan x + 2.