If sinθ + cosθ = √5sin(90 - θ), find the value of cotθ

If sinθ + cosθ = √5sin(90 - θ), find the value of cotθ Correct Answer $$\frac{{\sqrt 5 + 1}}{4}$$

sinθ + cosθ = √5cosθ
sinθ = cosθ(√5 - 1)
$$\cot \theta = \frac{1}{{\sqrt 5 - 1}} \times \frac{{\sqrt 5 + 1}}{{\sqrt 5 - 1}} = \frac{{\sqrt 5 + 1}}{4}$$