We know that g (x) = tan x is a periodic function with period π.
∴ f (x) = tan (2x) is a periodic function with period π/2. So, we will draw the graph of f (x) = tan (2x) in the interval [0, π/2]. The values of f (x) = tan (2x) at various points in [0, π/2] are listed in the following table:

By plotting the above points, we obtain the required curve.
