let's find the slope of each one of the segments first:
for the segment QR, the slope will be (8-2)/(-1+6) = 6/5
for the segment ST, the slope will be (5-6)(-8+3)= -1/-5 = 1/5
then since 6/5 is not minus the inverse of 1/5 then we have that the lines are not perpendicular.