Answer to Question hand-1

x i s
3 0 1
3 1 2
3 2 4
3 3 8
f(3) returns 8.