Given f(x)= sq2x+7 and g(x)=x^2-1 , then the value of g[f(1)] is

A. 8

B.(sq7)

C. 0

D. 2

I think this one is B, but am not sure....

And the second one...

7. If the equation of a function is y=f(x)=1/2x-5 then the equation of y=f^-1(x) is

A. y = 2x + 10

B. y = 2x + 5

C. y=-1/2x +5

D. y=1/2x-10

Thanks for any help!