It seems strange to me, that the term "lotrecht" is used in the context of maths (where normally "rechtwinklig" or "orthogonal" would be used).
A "Lot" is a tool which is mostly used to determine wheter a wall is pependicular to the ground or not. In its simplest form it is just a string which a weight attached. "Lotrecht" litterally means the direction into which the Lot is pointing (i.e. the direction of gravity.)
https://de.wikipedia.org/wiki/Lotrechte
According to wikipedia the corresponding English term is vertical direction.
It seems though that in Geometry the therm Lot is used (altougth I never heard it in this context before). In which case it just means a line which is perpendicular to an other line.
https://de.wikipedia.org/wiki/Lot_(Mathematik)
The term Senkrecht is a bit ambigious it is actually synonymos to "Lotrecht" (it derived from the word "Senkblei" which is onother word for "Lot") and means the vertical direction.
But it is on the same time often used to express that two lines are perpendicular to each other (here "rechtwinklig" or "orthogonal" would be better choices). It seems as if the teacher did not pick the best termology.