given the input in the table which function rule produces the output?

Answer: b) [tex]f(x)=4x+2[/tex]
Step-by-step explanation:
The given table :-
Input 4 5 7 8
Output 18 22 30 34
Let's check all the options
a) [tex]f(x)=5x-2[/tex]
At x= 4, [tex]f(4)=5(4)-2=18[/tex]
At x= 5 , [tex]f(5)=5(5)-2=25-2=23\neq22[/tex] , thus it not the correct function.
b) [tex]f(x)=4x+2[/tex]
At x= 4 , [tex]f(4)=4(4)+2=18[/tex]
At x= 5 , [tex]f(5)=4(5)+2=22[/tex]
At x= 7 , [tex]f(7)=4(7)+2=30[/tex]
At x= 8 , [tex]f(8)=4(8)+2=34[/tex] , thus it is the function rule that produces the output.
c) [tex]f(x)=3x+6[/tex]
At x= 4 , [tex]f(4)=3(4)+6=18[/tex]
At x= 5 , [tex]f(5)=3(5)+6=21\neq22[/tex] , thus it not the correct function.
d) [tex]f(x)=2x+10[/tex]
At x= 4 , [tex]f(4)=2(4)+10=18[/tex]
At x= 5 , [tex]f(5)=2(5)+10=20\neq22[/tex] , thus it not the correct function.
Hence, the correct function rule that produces the output = b) [tex]f(x)=4x+2[/tex]