I haven't commented in this thread because for some reason I can't see the pictures. I do want to point out that asking a very basic question about pool electric is an indicator that you may not have skills and understanding to safely do this yourself.

I'll be blunt. A wiring mistake could kill a swimmer. I don't want you to have that on your conscience.

If you're not sure then please find a qualified licensed electrician with pool experience.