I see two possible causes of these 'problems'.
1) the end casting is not square to the bench tubes. This is the position that may be observed from above. The end casting at the front is closer to the 'table' than the rear. If that were 'corrected, the rear rail would be shifted in and the front rail would be shifted 'out'. This assumes the far end will become parallel to the tube when the casting is rotated.
2) the tilt is caused by the tie rod being too far in or the casting too far out. When the clamp is 'set' the top of the end casting is pulled toward the table causing the tilt.
The hinge end may be contributing to these problems as well. If it is off, then the aux table is being biased to correct for mis-alignment on that end.
i.e. yer geometry teacher is correct, but all ain't square.
I would start by verifying the hinge end has the tubes(both way and bench) square to the casting. Determine they are installed correctly. The distance from a spt tube to the main table tube should be the same at the front and rear, and should be parallel vertically(both front to rear and side to side).
The lock end casting should meet the same criteria and the bench and way tubes should be parallel(not twisted individually or in relation to each other). The headstock gets in the way of verifying the spt tube to main table tube measurements.
If you want to start at the beginning and follow a step by step procedure, try this.
https://forum.shopsmith.com/viewtopic.php?p=41340#post41340
This procedure should provide the squareness yer geometry teacher was relating to, but it does not get extremely accurate relative to the 'squareness' of the end castings. If left right incompatibilities remain, a slight twisting of the end castings should improve it. The kicker is determining which one to 'tweak'.
P.S. All this assumes the table rails ARE parallel to the way tubes.(should be if miter slot to spindle is correct[table to saw blade/sanding disk])