y = kx(4-x)
kx2 - (4k)x + y = 0
This equation is of the form Ax2 + Bx + C = 0, where A = k, B = -4k, and C = y.
By the quadratic formula, x = (4k ± √[(-4k)2 - 4(k)(y)])/(2k)
= (4k ± √(16k2-4ky))/(2k)
= (4k ± 2√(4k2-ky))/(2k)
= (2k ± √(4k2 - ky))/k