The answer would be 36 seconds. Since the P wave is at zero all you need to do is follow the graph lines and see how many seconds it is until the S wave arrives.