For this case, the first thing we must do is define variables.
We have then:
x: number of hands
y: number of fingers
We have then that the equation that models the problem is given by:

For 6 hands we have:

Answer:
The number of fingers that Tim should say is 30