Electronic structure of the triangular quantum well in a tilted magnetic field