Add some acid to lower pH. Pool calculator isn't good for huge changes, so try it in two or three doses. It might take more than you think, if pH is off the scale. While that is mixing, mess around tying up the CYA. When pH is good, add bleach. Try to keep additions at least a half an hour apart, except the CYA. It takes days to dissolve 100%.