Circle P is tangent to the x-axis and the y-axis. If the coordinates of the center are (r, r), find the length of the chord whose endpoints are the points of tangency.

2r

r√2