If Clare’s original number was 3 then she would first triple the number
3*3 is 9
Subtract 7 from 9 and you get 2
2 doubled is 4
22 subtracted from 4 is -18
-18 divided by 6 is -3
So Tyler just took Clare’s final answer (-3) and did the opposite if the steps back words
(multiple by 6, add 22, divide by 2, add 7, divide by 3)