5x + 2y = 7 and y = x + 1