Find the value of c that makes  x^2+18x+c  a perfect square trinomial.