Is (x, y) a solution to the linear equation?