Answer:
It would be 3n + 1.
Explanation:
By looking at the input and output, you can figure out that the output is 1 more than 3 times the input.
1 --> 3(1) + 1 = 4
2 --> 3(2) + 1 = 7
3 --> 3(3) + 1 = 10
4 --> 3(4) + 1 = 13
So the output is always 1 more than 3 times the input.
3 times "n" is equal to 3n
So 1 more than 3 times "n" is equal to 3n+1
3n + 1 would you your answer.
Hope that helps, :)