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