If the equation ax2 + 2hxy + by2 + 2gx + 2fy + c = 0 represents a pair of straight lines, then abc + 2fgh − af2 − bg2 + ch2 = 0