Miguel wants to use coordinate geometry to prove that the opposite sides of a rectangle or congruent parallelogram ABCD in the coordinate plane are congruent. Point B is (0, 0) and point C is (a, b). What formula can he use to determine the distance from point B to point C?