You wouldn't go from 1X to 1S.
Only people in 1R will go to 1S and 1X will go to 1Y. They are slightly different courses, (1X and 1Y being for people with a slightly better ability who may have done better at higher/advanced higher maths).
It's most likely you would resit in August.