For some positive real number $r$, the line $x + y = r$ is tangent to the circle $x^2 + y^2 = r$. Find $r$.
r = 4*sqrt(5).