g(θ)=(3cosθ-2)²+(2sinθ)², θ=0 to 2π