If tan theta +cot theta =2, find the value of tan2 theta + cot2 theta
3tanθ + cotθ = 5 cosec θ. Find the value of θ, 0 < θ ≤ 90.