When a lathe is used for thread cutting, the number of threads per inch produced is determined by the speed relationship between the __________.