$${(40-20)/2 = 10\,\mathrm{cm/t}.}$$