If sum of the squares of zeroes of the quadratic polynomial p(x) = x2 – 8x + K is 40, find the value of K.