How do you do it?

DD is starting swim lessons tonight and I have to bring DS (almost 2) with me. 6:00-6:30pm. DH doesn't get home until closer to 7pm. What do I bring to entertain DS? I'm afraid he's going to jump in the pool (I'm not sure where we have to be/can be in relation to the pool). I'm also worried that if he gets to watch something on my phone DD will get out of the pool to watch. That's what happened with dance class. No food allowed at the pool. Ideas needed. How do you other mamas do it?