Answer
$a. f(x)=sin^2x $
$ say, h(x) = x+1$
$and, g(x)=sin^2(x-1)$
$Therefore, f(x) = g(h(x))$
$b. f(x)=3/(5+cosx) $
$ say, h(x) = 5+cosx$
$and, g(x)=3/x$
$Therefore, f(x) = g(h(x))$
Work Step by Step
$a. f(x)=sin^2x $
$ say, h(x) = x+1$
$and, g(x)=sin^2(x-1)$
$Therefore, f(x) = g(h(x))$
$b. f(x)=3/(5+cosx) $
$ say, h(x) = 5+cosx$
$and, g(x)=3/x$
$Therefore, f(x) = g(h(x))$