x has the solution of -1/2 or 4 it means
x-0.5 or x-4 is equal to zero
x = -1/2 and x = 4
The second one is correct.
Remember that if x = a and x = b are solutions of a quadratic ...
A simple case of forming the correct quadratic expression given its roots.