is this done correctly??

given that f(x) and g(x)=x-2 calculate
a)g(-2)=-2-2=-4
b)fg(4)=1/2 *4=2

yes you are correct