Answer:
The function given is non-linear.
Explanation:
The slope between (0, 2) and (2,6):

The slope between (2,6), and (3, 12):

Since the slopes are not equal to each other, the function is non-linear. A linear function's slope must stay consistent.
Hope this helps.