general solution of sin2x = 4cos2x

recall that sinθ = cosθ at θ = π/4 + kπ

since θ = 2x, we have
x = π/8 + kπ/2