Solutions of Linear equation in 2 variables on a graph