If the inputs are 1 to 8,3 to 10, 5 to 12, and 7 to 14 what is the rule?

looks like we have a slope of 2/2 = 1

let y = x + b
plug in the first point (1,8)
8 = 1 + b
b = 7

y = x + 7