How do you find the inverse of g(x)=5x-2 and is it a function?