Find the value of ‘p’ for which the quadratic equations have equal roots.
(1)
(2)
(3)
(4)
(5)
(6)