设x-y+1=0,求d=根号下x2+y2+6x-10y+34加上根号下x2+y2-4x-30y+229的最小值