The equation of the circle passing through the origin which cuts off intercept of length 6 and 8 from the axes is
x2+y2−6x−8y=0
The centre of the required circle is
(62,82)=(3,4)
The radius of the required circle is
√32+42=√25=5
Hence, the equation of the circle is as follows:
(x−3)2+(y−4)2=52
⇒x2+y2−6x−8y=0