Learn to swim by first learning to become balanced.
If a swimmer is not balanced at the surface then some proportion of propulsion is used to stay at the surface rather than propelling forward.
If you can learn the push and glide your swimming journey will be a safe and enjoyable journey.
To add the kick, use the leg extension learned in the push and glide. Move the legs from the quads. The kick should pass evenly up and down, using a 50/50 mix of air and water at the feet. If your torso wobbles when kicking your kick is moving too much water. The kick is either too big or too fast. You are always safer to reduce the size of the kick, using the quads, whilst maintaining speed.
Step 1 - Push and Glide
Become balanced first with the push and glide. Balance ensures you are stable at the water surface so when it is time to add propulsion all work moves your forward instead of worming to stay at the surface.