Hi Student From the given information we can find f(x)-g(x) as follows f(x) -g(x) = x when x is rational = -x when x is irrational so clealry there is no overlapping of values hence it will clearly will one-one and also in codomain each elemnt will have pre-image. Hence it will be onto also.