From the given table we can find 3 points
(3, 9), (8, 24), (9, 27)
Since 9/3 = 3
Since 24/8 = 3
Since 27/9 = 3
Then, that means the output is 3 times the input
Output = 3 x input
Since the input is n, then
The output = 3 x n
The output is 3n
The answer is 3n