We can tell if a function is invertible by doing the horizontal line test.
So basically, If you can draw a straight line anywhere through the graph of the function and it only touches one point on the graph, then it is invertible.
By restricting the range of the function, we can make it invertible.
Therfore, B and C are correct, as they restrict the function in such a way that passes the horizontal line test.