A regular pyramid has a square base with side 6 and four equilateral triangular lateral faces.What is the height of the pyramid?