How do you find the inverse of y=3x^2-2 and is it a function?