Answer :
The direction vectors for the three sides are given by the differences in the vertices, not the vertices themselves. So consider the vectors
P−Q,P−R,Q−RP−Q,P−R,Q−Rand see whether any of these are orthogonal.
P−Q,P−R,Q−RP−Q,P−R,Q−Rand see whether any of these are orthogonal.