Use Lagrange multipliers to find the maximum and minimum values

Use Lagrange multipliers to find the maximum and minimum values of the function subject to the given constraint.
f(x,y)=3x+y: x^2+y^2=10