a=1
b=1
c=-30
x= -b plus or minus the square root b^2-4ac / 2a
x= -1 +- square root 1^2 - 4(1)(-30) / 2(1)
x= -1 +- square root 1 + 120 / 2
x= -1 +- square root 121 /2
x= -1 +- 11 /2
now you have two cases one that you add and the other you subtract
x= -1 + 11 /2
x= 5
x= -1 - 11 /2
x=-6
x= 5, -6