Where can I learn How to Program

If you are looking for odometry specifically check this out:

For PID this is quite helpful:

https://renegaderobotics.org/pid-beginners-guide/

And for just learning to code c++ try learncpp.com or check out the vexcode examples in the software