input 1 2 3 4 5 6 7

output5 9 13 17

judging from what I see, we have the output increasing by 4 when the input increases by 1.

so, look for something like

y = 4x

Since 5=4+1, I'd try

y = 4x+1

That seems to work.