1. Point A(3,-5) lies within the circle x^2+y^2-8x-2y+12=0. Find the equation of the chord of the circle whose midpoint is A.
2. Point A(3,0) lies within the circle x^2+y^2-8x-2y+12=0. Find the equations of the longest chord and the shortest chord of the circle passing through A.