two shafts rotating at 150 and 250 rev min find speed