Need help with a line follower but with two sensors PID

I need help for create a line follower with two sensors in VEXcode IQ, because have’nt experience in this, I know working with others pages for programe in blocks but I don’t know why make PID line follower in this, thanks!

What kind of sensor are you using?
A line follower program requires odometry, not just PID