Equations reducible to a pair of linear equation in two variables