try this, it will help you in your assignment.
Consider the common quadratic equation
Ax2 + bx + c = 0 whereas a ≠ 0
The roots of the equation are obtained via the given formula as:
X = (-b + √(b2 - 4ac))/2a
Example
Solve for x ia formula
5x2 + 2x - 3 = 0
Solution
a = 5 and b = 2 and c = - 3
X = (-b + √(b2 - 4ac))/2a
X = (-2 + √(22 - 4(5)(-3)))/2(5)
X = 3/5 or -1