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