Ordered pairs in a linear equation