Distance covered by the squirrel to look for an acorn :
d = ( 3 m/s ) × 10 s = 30 m.
Time taken to eat an Acron is 5 seconds.
Time taken to cover distance of 30 m with 2 m/s speed is :

Therefore, total time take to get back to where he started is ( 10+5+15 ) = 30 s.
Hence, this is the required solution.