Consider parent function The graph of this function is the same as the graph of the function because the tangens has period of (See first attached diagram)
Now, you can see that the graph of the function is translated 2 units up. This translation gives you the function (see second attached diagram)