h(x)= x/(x-2) and g(x)= 2/x. Find and simplify

h of g(x).

I plugged g(x) into h:
h(x)= (2/x)/[(2/x)-2]

Now, would I multiply each by x, the Common Denominator?
Therefore getting 2/(2-2x) which simplifies to 1-x?

3 answers

2/(2-2x) is correct, but when simplified gives 1/(1-x).
Ah, that was a stupid mistake on my part. I blame the late hour...
Thank you for your help, have a good night!=)
You're welcome! Get some sleep!