For the quadratic equation 3x2−12x+p=0, what is the value of p if the equation has exactly one real solution?
3
6
12
18