Find the maximum and minimum values of f(x,y)=3x+y on the ellipse x^2+4y^2=1