draw graphs of f(x)tanx and g(x)2cosx for 0° less than equals to x less than equals to 360°.

You should have typed f(x) = tanx and g(x) = 2cosx

look at the first graph of
http://www.wolframalpha.com/input/?i=plot+y+%3D+tan%28x%29+%2C+y%3D2cos%28x%29+%2C+0+≤+x+≤+2π

notice the tan function has vertical asymptotes, which should be graphed as dotted lines.

I also changed your 360° to radians.