Mr. Rr the Rreliable Rrobot has been programmed to whistle every 18 seconds and do a jumping jack every 42 seconds, starting from the moment he is turned on. (For example, he does his first jumping jack 42 seconds after he is turned on.)
What is this question asking for as an answer? It only has the robot's situation listed, not what the question is. Could you please put the question into further detail?