Find the equation of a circle passing through (1,2) and (3,4) and touching the line 3x + y = 5.