What is the value of x when y = 5?
y = \(\frac{1}{2}\) x + 1
If the sum of the roots of the equation (x - p)(2x + 1) = 0 is 1, find the value of x