Solve for x: (x\(^2\) + 2x + 1) = 25
sinθ = \(\frac{1}{2}\) and cosθ = -\(\frac{\sqrt{3}}{2}\), what is the value of θ?