The equation of a circle can be written in the form (x - h)^2 + (y - k)^2 = r^2, where (h, k) is the center of the circle and r is the radius. Since the circle is tangent to the x-axis at 5, the y-coordinate of the center is 5. Similarly, since the circle is tangent to the y-axis at 5, the x-coordinate of the center is 5. Therefore, the center of the circle is (5, 5). The radius of the circle can be found by measuring the distance from the center to either tangent point, which is 5 units. Thus, the equation of the circle is (x - 5)^2 + (y - 5)^2 = 25.