First, of course, 3- x must be non-negative in order for that square root to be a real number: so . And once we have that we must have . That is the same as saying that or , . So far then, . Now, we need to have . Can you finish that?

As for the derivative, this function is . Use the "power rule" and the "chain rule".