Two points sit on a line with the following coordinates p(2,2) and Q(3,7) which is the distance from p to q

A 10
B 15
C 23
D 26