Clearly, the circumcenter of triangle ABQ will lie on the perpendicular bisector of line AB.
If A(3,0) and B(0,4) then midpoint of AB =
Let the equation of perpendicular bisector be 3x-4y+k=0, which passes through
Now, the equation of perpendicular bisector of line