Pump and stepper motor control

I want to control a stepper motor and a pump. so far I have gotten as far as getting the motor to work and also the ssr for the pump. now i want to get them to work together. I would like for them to start by pushing a button then running for 15 second then pause for 30 one time then run for 10 second then pause for 5 seconds 10 times. I am unsure of how to write the code to for this could anyone help me or point me in the right direction.

this is what i am using