FOR THE QUADRATIC EQUATION TO HAVE EQUAL ROOTS IT IS OF WHEN
WHERE b=p
a=3
c=3
LET US SUBSTITUTE IN THE GIVEN CONDITION
YOU WILL FIND THE EQUATION OF WHICH YOU WILL HAVE TO SOLVE FOR p
FOR THE GIVEN EQUATION TO HAVE EQUAL ROOTS IT IS OF WHEN P=6 OR P=-6
GOODLUCK!