Your answer is incorrect. See the domain and range. It is [0,1] → [0,1]. Do not bother about these exams if you are going to use such tools. You will hopefully not be allowed to use these tools in the exam. And even if you could, you will get it wrong.