Create an input output machine with the rule split in 2

y = x/2 , input is x, output is y