Answer:

 

f(5) = 2(35) = 486