The equation of the circle which touches all the sides of the square with sides y=3,x=6,y=7 and x=10 is x2+y2+2gx+2fy+c=0. Find the value of g+f+c