Triangle ABC has vertices at A(3 , 7), B(5, 7), and C(3, 1). Which statement proves that triangle ABC is a right triangle?

A) AC = BC
B) AB ⊥ BC
C) AB ⊥ AC
D) AC ⊥ BC