In this website I found, I am going to mostly talk about how two point perspective fits in with math. To state the obvious, this type of perspective is used a lot in geometry. As each shape is drawn, it will be either perpendicular, or parallel to each other. every line that is drawn will make its way to one of the vanishing points, creating angles as it goes.
You can think of the process of drawing two point perspective like a formula for math. It has multiple steps that has to go in a certain order to make the answer (drawing) correct.
These are the two drawings that are made in the website I have explained. As you can see, you can see there are multiple 3D prisms that are used to create the scenes.
2 Point Perspective Drawing: Step by Step Guide for Beginners