Hi Imran,
Here is a one minute clip showing two way to do it. I have put eh Quantize option on the end, as it needs a certain density to deliver. In other words, if there is no point, then it can’t move it, distance is not absolute, only each time for x y or z, not the real distance in “space”. The first version works always very precisely, but needs a straight edge to begin with, as all previous points will be deleted.
Screen capture
https://www.amazon.com/clouddrive/share/zwwADUFpfGl03T4eDJiwYSMEhdpZfhAWOzaey61sO9g
If nothing helps, you either need to replace that part with a plane (Connect, and then weld points), eventually the Pen Tool might help), or have an object that allows for a snapping of these points (manually)
All the best